style: auto-fix linting issues

This commit is contained in:
JulienMaille 2026-02-10 23:19:24 +00:00 committed by github-actions[bot]
parent 9f67938810
commit 0ac75ca910

View file

@ -66,7 +66,11 @@ export class AuthManager {
// On Linux, if popup is blocked or fails, we might be forced to redirect,
// but we've seen it "bug the app", so we alert the user first.
if (error.code === 'auth/popup-blocked' || error.code === 'auth/cancelled-popup-request') {
if (confirm('The login popup was blocked or failed to communicate. Would you like to try a redirect instead? Note: This may reload the application.')) {
if (
confirm(
'The login popup was blocked or failed to communicate. Would you like to try a redirect instead? Note: This may reload the application.'
)
) {
try {
await signInWithRedirect(auth, provider);
return;