Fix Suspended User Login Error Redirect URL (#6297)
This commit is contained in:
committed by
GitHub
parent
0213221a7c
commit
78b9322a28
@@ -102,7 +102,7 @@ router.get("email.callback", async (ctx) => {
|
||||
}
|
||||
|
||||
if (user.isSuspended) {
|
||||
return ctx.redirect("/?notice=suspended");
|
||||
return ctx.redirect("/?notice=user-suspended");
|
||||
}
|
||||
|
||||
if (user.isInvited) {
|
||||
|
||||
Reference in New Issue
Block a user