Prepare docs for v5 release

This commit is contained in:
François Voron
2021-01-12 11:24:52 +01:00
parent 1df6e7d162
commit 9c113e30a2
3 changed files with 7 additions and 6 deletions

View File

@@ -1,8 +1,5 @@
# Verify router
!!! warning
This feature is not released yet.
This router provides routes to manage user email verification. Check the [routes usage](../../usage/routes.md) to learn how to use them.
!!! success "👏👏👏"

View File

@@ -0,0 +1,7 @@
# 4.x.x ➡️ 5.x.x
## New property `is_verified` in `User` model.
Starting 5.x.x., there is a new [e-mail verification feature](../configuration/routers/verify.md). Even if optional, the `is_verified` property has been added to the `User` model.
If you use **SQLAlchemy** or **Tortoise** databases adapters, you'll have to make a migration to update your database schema.

View File

@@ -119,9 +119,6 @@ Reset a password. Requires the token generated by the `/forgot-password` route.
## Verify router
!!! warning
This feature is not released yet.
### `POST /request-verify-token`
Request a user to verify their e-mail. Will generate a temporary token and call the `after_verification_request` [handler](../configuration/routers/verify.md#after-verification-request) if the user exists.