400 instead of 303
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled

This commit is contained in:
Philipp Hofer 2025-04-16 11:31:46 +02:00
parent dc2ee38aa0
commit 4ce9a573fe

View File

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