mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-11-06 16:05:47 +08:00
fix textual description to match the code (#533)
This commit is contained in:
@ -27,7 +27,7 @@ app.include_router(
|
|||||||
|
|
||||||
### Optional: user verification
|
### Optional: user verification
|
||||||
|
|
||||||
You can require the user to be **verified** (i.e. `is_verified` property set to `True`) to access those routes. You have to set the `requires_validation` parameter to `True` on the router instantiation method:
|
You can require the user to be **verified** (i.e. `is_verified` property set to `True`) to access those routes. You have to set the `requires_verification` parameter to `True` on the router instantiation method:
|
||||||
|
|
||||||
```py
|
```py
|
||||||
app.include_router(
|
app.include_router(
|
||||||
|
|||||||
Reference in New Issue
Block a user