2 Commits

Author SHA1 Message Date
3b25143a08 Merge pull request '400 instead of 303' (#907) from nx-auth into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 15m31s
CI/CD Pipeline / deploy-staging (push) Successful in 7m16s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #907
2025-04-16 11:32:07 +02:00
4ce9a573fe 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
2025-04-16 11:31:46 +02:00

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