Skip to content
Snippets Groups Projects
Commit 8a58942c authored by Eugen's avatar Eugen Committed by GitHub
Browse files

Fix up recovery codes design a little (#1866)

parent f9727254
No related branches found
No related tags found
No related merge requests found
......@@ -8,10 +8,5 @@
}
.recovery-codes {
column-count: 2;
height: 100px;
li {
list-style: decimal;
margin-left: 20px;
}
list-style: none;
}
%p.hint= t('two_factor_auth.recovery_instructions')
%h3= t('two_factor_auth.recovery_codes')
%ol.recovery-codes
- @codes.each do |code|
%li
......
......@@ -10,6 +10,8 @@
= link_to t('two_factor_auth.setup'), new_settings_two_factor_auth_path, class: 'block-button'
- if current_user.otp_required_for_login
%p
.simple_form
%p.hint= t('two_factor_auth.lost_recovery_codes')
= link_to t('two_factor_auth.generate_recovery_codes'), recovery_codes_settings_two_factor_auth_path, data: { method: 'POST' }, class: 'block-button'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment