mirror of
https://github.com/outline/outline.git
synced 2026-11-26 15:43:48 +03:00
Update email.ts
This commit is contained in:
1 parent
25568c101c
commit
e5c8176ee6
1 file changed
+1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user