frontend: Minor work to make it a little less terrible

This commit is contained in:
Lennart
2025-04-13 18:42:13 +02:00
parent 8976832e6b
commit a60d8deacc
8 changed files with 92 additions and 29 deletions

View File

@@ -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(),