Remove expired sign-in link error toast
This commit is contained in:
1 parent
b7c4739161
commit
169e979870
1 file changed
+1
-1
+1
-1
@@ -728,8 +728,8 @@ onAuthStateChanged(auth, async (user) => {
|
||||
await initUser(result.user);
|
||||
return;
|
||||
} catch(e) {
|
||||
showToast('Sign-in link expired or already used. Please try again.', 'error');
|
||||
showScreen('auth');
|
||||
window.history.replaceState({}, document.title, APP_URL);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user