Update email.ts

This commit is contained in:
Tom Moor
2022-02-10 21:20:58 -08:00
committed by GitHub
parent 25568c101c
commit e5c8176ee6

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) {