Merge pull request '400 instead of 303' (#907) from nx-auth into staging

Reviewed-on: Ruderverein-Donau-Linz/rowt#907
This commit is contained in:
philipp 2025-04-16 11:32:07 +02:00
commit 3b25143a08

View File

@ -182,7 +182,7 @@ async fn nextcloud_auth(db: &State<SqlitePool>, auth: BasicAuth) -> Status {
return Status::Ok; return Status::Ok;
} }
} }
Status::Unauthorized Status::BadRequest
} }
#[catch(401)] //Unauthorized #[catch(401)] //Unauthorized