mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-08-15 19:30:47 +08:00
Merge branch 'master' of github.com:frankie567/fastapi-users
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
* `id` (`str`) – Unique identifier of the user. Default to a **UUID4**.
|
* `id` (`str`) – Unique identifier of the user. Default to a **UUID4**.
|
||||||
* `email` (`str`) – Email of the user. Validated by [`email-validator`](https://github.com/JoshData/python-email-validator).
|
* `email` (`str`) – Email of the user. Validated by [`email-validator`](https://github.com/JoshData/python-email-validator).
|
||||||
* `is_active` (`bool`) – Whether or not the user is active. If not, login and forgot password requests will be denied. Default to `True`.
|
* `is_active` (`bool`) – Whether or not the user is active. If not, login and forgot password requests will be denied. Default to `True`.
|
||||||
* `is_active` (`bool`) – Whether or not the user is a superuser. Useful to implement administration logic. Default to `False`.
|
* `is_superuser` (`bool`) – Whether or not the user is a superuser. Useful to implement administration logic. Default to `False`.
|
||||||
|
|
||||||
## Define your models
|
## Define your models
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user