diff --git a/frontend/src/ts/popups/simple-popups.ts b/frontend/src/ts/popups/simple-popups.ts index af60a3841..41ea889de 100644 --- a/frontend/src/ts/popups/simple-popups.ts +++ b/frontend/src/ts/popups/simple-popups.ts @@ -434,8 +434,9 @@ async function reauthenticate( const user = getAuthenticatedUser(); try { - const passwordAuthEnabled = - user.providerData.some((p) => p?.providerId === "password") !== undefined; + const passwordAuthEnabled = user.providerData.some( + (p) => p?.providerId === "password" + ); if (!passwordAuthEnabled && method === "passwordOnly") { return {