Change service
This commit is contained in:
@@ -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()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user