Fix redirection issue after login

This commit is contained in:
Pierre HUBERT 2022-07-22 14:36:39 +02:00
parent 24240ca4fd
commit 8679b1c367

@ -141,7 +141,7 @@ pub async fn login_route(
};
SessionIdentity(id.as_ref()).set_user(&http_req, &user, status);
redirect_user(query.redirect.get());
return redirect_user(query.redirect.get());
}
LoginResult::AccountDisabled => {