mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-11-04 22:56:56 +08:00
Fix #610: add LOGIN_USER_NOT_VERIFIED to login route documentation
This commit is contained in:
@ -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`
|
### `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.
|
Logout the authenticated user against the method named `name`. Check the corresponding [authentication method](../configuration/authentication/index.md) to view the success response.
|
||||||
|
|||||||
Reference in New Issue
Block a user