* Fix #3910 - Require OTP authentication to disable 2FA. Also, remove ability to generate new OTP backup codes *after* initial backup codes were handed out during activation * Restore recovery code re-generation * Improve display of some 2FA elements
9 lines
223 B
Text
9 lines
223 B
Text
- content_for :page_title do
|
|
= t('settings.two_factor_authentication')
|
|
|
|
%p.hint= t('two_factor_authentication.recovery_instructions_html')
|
|
|
|
%ol.recovery-codes
|
|
- @recovery_codes.each do |code|
|
|
%li<
|
|
%samp= code
|