You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(user verification): Update documentation to include new email/phone verification settings
This commit updates the documentation to include information about the new email/phone verification settings added in a previous commit. The updated documentation ensures that developers and users are aware of the new feature and how to use it in their applications.
|`PROJECT_ENDPOINT`|| The endpoint of your Appwrite project. You can find this in the Appwrite console under Settings > General. |
49
+
|`PROJECT_ID`|| The ID of your Appwrite project. You can find this in the Appwrite console under Settings > General. |
50
+
|`PROJECT_API_KEY`|| The API key of your Appwrite project. You can find this in the Appwrite console under Settings > API Keys. |
51
+
|`USER_ID_HEADER`| HTTP_USER_ID | The header name that will be used to store the user ID. |
52
+
|`VERIFY_EMAIL`| False | If set to `True`, the middleware will check if the user's email address has been verified in Appwrite before authenticating the user. If the email address has not been verified, the user will not be authenticated. |
53
+
|`VERIFY_PHONE`| False | If set to `True`, the middleware will check if the user's phone number has been verified in Appwrite before authenticating the user. If the phone number has not been verified, the user will not be authenticated. |
53
54
54
55
## How it works
55
56
This middleware class will get the user ID from the header specified in the `USER_ID_HEADER` setting.
0 commit comments