lib/rodauth/features/recovery_codes.rb in rodauth-1.19.1 vs lib/rodauth/features/recovery_codes.rb in rodauth-1.20.0
- old
+ new
@@ -30,9 +30,10 @@
view 'add-recovery-codes', 'Authentication Recovery Codes', 'add_recovery_codes'
view 'recovery-auth', 'Enter Authentication Recovery Code', 'recovery_auth'
view 'recovery-codes', 'View Authentication Recovery Codes', 'recovery_codes'
auth_value_method :add_recovery_codes_param, 'add'
+ auth_value_method :add_recovery_codes_heading, '<h2>Add Additional Recovery Codes</h2>'
auth_value_method :invalid_recovery_code_message, "Invalid recovery code"
auth_value_method :recovery_codes_limit, 16
auth_value_method :recovery_codes_column, :code
auth_value_method :recovery_codes_id_column, :id
auth_value_method :recovery_codes_label, 'Recovery Code'