Fix #610: add LOGIN_USER_NOT_VERIFIED to login route documentation

This commit is contained in:
François Voron
2021-04-20 13:57:00 +02:00
parent d184d7e90c
commit 5d6be87369

View File

@ -26,6 +26,15 @@ Login a user against the method named `name`. Check the corresponding [authentic
}
```
!!! fail "`400 Bad Request`"
The user is not verified.
```json
{
"detail": "LOGIN_USER_NOT_VERIFIED"
}
```
### `POST /logout`
Logout the authenticated user against the method named `name`. Check the corresponding [authentication method](../configuration/authentication/index.md) to view the success response.