Commit 4fca1fc5 authored by Robert Speicher's avatar Robert Speicher

Update copy for generating new recovery codes

parent 32971b0a
...@@ -37,11 +37,11 @@ ...@@ -37,11 +37,11 @@
= link_to "Disable Two-factor Authentication", profile_two_factor_auth_path, method: :delete, class: 'btn btn-close btn-sm', = link_to "Disable Two-factor Authentication", profile_two_factor_auth_path, method: :delete, class: 'btn btn-close btn-sm',
data: { confirm: 'Are you sure?' } data: { confirm: 'Are you sure?' }
%p %p
If you lose your recovery codes, you can If you lose your recovery codes you can
%strong %strong
= succeed '.' do = succeed ',' do
= link_to "generate new ones", codes_profile_two_factor_auth_path, method: :post, = link_to "generate new ones", codes_profile_two_factor_auth_path, method: :post, data: { confirm: 'Are you sure?' }
data: { confirm: 'This will invalidate the old codes. Are you sure?' } invalidating all previous codes.
- else - else
%legend Two-factor Authentication %legend Two-factor Authentication
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment