docs: correct typo in backup code recovery method description (#6374)

This commit is contained in:
Cryze
2025-12-09 06:56:25 +01:00
committed by github-actions[bot]
parent 5734a2e483
commit 28cd9d111c

View File

@@ -356,7 +356,7 @@ When you generate backup codes, the old backup codes will be deleted and new one
#### Using Backup Codes
You can now allow users to provider backup code as account recover method.
You can now allow users to provide a backup code as an account recovery method.
<APIMethod path="/two-factor/verify-backup-code" method="POST">
@@ -384,7 +384,7 @@ Once a backup code is used, it will be removed from the database and can't be us
#### Viewing Backup Codes
To display the backup codes to the user, you can call `viewBackupCodes` on the server. This will return the backup codes in the response. You should only this if the user has a fresh session - a session that was just created.
To display the backup codes to the user, you can call `viewBackupCodes` on the server. This will return the backup codes in the response. You should only do this if the user has a fresh session - a session that was just created.
<APIMethod
path="/two-factor/view-backup-codes"
@@ -435,7 +435,7 @@ twoFactor({
## Schema
The plugin requires 1 additional fields in the `user` table and 1 additional table to store the two factor authentication data.
The plugin requires 1 additional field in the `user` table and 1 additional table to store the two factor authentication data.
Table: `user`