Skip to content

Commit

Permalink
Add configuration suggestion for otp_unlock feature
Browse files Browse the repository at this point in the history
  • Loading branch information
janko committed Aug 4, 2024
1 parent aa8298e commit 94e1281
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/generators/rodauth/migration_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def table_prefix
reset_password: { reset_password_table: "%{singular}_password_reset_keys" },
email_auth: { email_auth_table: "%{singular}_email_auth_keys" },
otp: { otp_keys_table: "%{singular}_otp_keys" },
otp_unlock: { otp_unlock_table: "%{singular}_otp_unlocks" },
sms_codes: { sms_codes_table: "%{singular}_sms_codes" },
recovery_codes: { recovery_codes_table: "%{singular}_recovery_codes" },
webauthn: { webauthn_keys_table: "%{singular}_webauthn_keys", webauthn_user_ids_table: "%{singular}_webauthn_user_ids", webauthn_keys_account_id_column: "%{singular}_id" },
Expand Down

0 comments on commit 94e1281

Please sign in to comment.