1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-29 22:01:14 +03:00

admin: better error when password auth is disabled

This commit is contained in:
Quentin Gliech
2024-08-07 11:52:34 +02:00
parent 475a43df71
commit c61a52a3a0
2 changed files with 54 additions and 1 deletions

View File

@ -367,6 +367,23 @@
}
}
},
"403": {
"description": "Password auth is disabled in the server configuration",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
},
"example": {
"errors": [
{
"title": "Password auth is disabled"
}
]
}
}
}
},
"404": {
"description": "User was not found",
"content": {