fix oidc_provider discovery message and docstrings

This commit is contained in:
lafleur authored and Ginger committed 2025-11-11 11:34:26 -05:00
1 parent 2afe656e12
commit 144036f58b
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@ pub(crate) async fn get_auth_metadata(
http::StatusCode::NOT_FOUND,
ClientErrorBody::Standard {
kind: ClientErrorKind::Unrecognized,
message: "This homeserver doesn't do OIDC authentication.".to_owned(),
message: "This homeserver has disabled OIDC authentication.".to_owned(),
},
)));
let Some(ref auth) = services.server.config.auth else {