Change service

This commit is contained in:
2024-08-28 19:56:16 +02:00
parent a2c6f78ea2
commit 011701e15e
5 changed files with 4 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ pub async fn login_or_register(conn: Db, access_token: &str) -> Option<inventur_
}
#[catch(401)]
#[catch(403)]
pub async fn redirect_to_login() -> Redirect {
Redirect::to(uri!(oauth_login()))
}