fix: Return 403 instead of 404 when UIAA is disabled

This commit is contained in:
Ginger committed 2026-11-23 10:09:08 -05:00
1 parent c82aba6f5a
commit cdda575d4a
1 file changed
+2 -2
+2 -2
View File
@@ -348,8 +348,8 @@ impl Service {
.compatibility_mode()
.uiaa_available()
{
return Err!(Request(Unrecognized(
"User-interactive authentication is unavailable on this server"
return Err!(Request(Forbidden(
"User-interactive authentication is not available on this server."
)));
}