mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-31 19:36:46 -05:00
docs: correct typo in backup code recovery method description (#6374)
This commit is contained in:
committed by
github-actions[bot]
parent
5734a2e483
commit
28cd9d111c
@@ -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`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user