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
This commit is contained in:
2025-04-16 11:32:07 +02:00

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