Update actix-identity to version 0.5.2 #27
@ -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