Fix redirection issue after login
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

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

View File

@ -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 => {