Fix redirection issue after login
This commit is contained in:
parent
24240ca4fd
commit
8679b1c367
@ -141,7 +141,7 @@ pub async fn login_route(
|
|||||||
};
|
};
|
||||||
|
|
||||||
SessionIdentity(id.as_ref()).set_user(&http_req, &user, status);
|
SessionIdentity(id.as_ref()).set_user(&http_req, &user, status);
|
||||||
redirect_user(query.redirect.get());
|
return redirect_user(query.redirect.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
LoginResult::AccountDisabled => {
|
LoginResult::AccountDisabled => {
|
||||||
|
Loading…
Reference in New Issue
Block a user