Merge branch 'master' of github.com:frankie567/fastapi-users

This commit is contained in:
François Voron
2020-01-20 10:48:04 +01:00

View File

@ -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