400 instead of 303
This commit is contained in:
parent
dc2ee38aa0
commit
4ce9a573fe
@ -182,7 +182,7 @@ async fn nextcloud_auth(db: &State<SqlitePool>, auth: BasicAuth) -> Status {
|
||||
return Status::Ok;
|
||||
}
|
||||
}
|
||||
Status::Unauthorized
|
||||
Status::BadRequest
|
||||
}
|
||||
|
||||
#[catch(401)] //Unauthorized
|
||||
|
Loading…
x
Reference in New Issue
Block a user