mirror of
https://github.com/lennart-k/rustical.git
synced 2026-01-30 20:08:19 +00:00
frontend: Minor work to make it a little less terrible
This commit is contained in:
@@ -230,7 +230,7 @@ pub async fn route_get_oidc_callback<AP: AuthenticationProvider>(
|
||||
session.insert("user", user.id.clone())?;
|
||||
|
||||
Ok(
|
||||
Redirect::to(req.url_for("frontend_user", &[user.id])?.to_string())
|
||||
Redirect::to(req.url_for_static("frontend_user")?.to_string())
|
||||
.temporary()
|
||||
.respond_to(&req)
|
||||
.map_into_boxed_body(),
|
||||
|
||||
Reference in New Issue
Block a user