Update email.ts

This commit is contained in:
Tom Moor authored and GitHub committed 2022-02-10 21:20:58 -08:00
1 parent 25568c101c
commit e5c8176ee6
1 file changed
+1
+1
View File
@@ -135,6 +135,7 @@ router.get("email.callback", async (ctx) => {
user = await getUserForEmailSigninToken(token as string);
} catch (err) {
ctx.redirect(`/?notice=expired-token`);
return;
}
if (!user.team.guestSignin) {