diff options
| author | Robert Speicher <rspeicher@gmail.com> | 2015-05-08 20:45:50 -0400 |
|---|---|---|
| committer | Robert Speicher <rspeicher@gmail.com> | 2015-05-09 17:32:09 -0400 |
| commit | 4fca1fc5ab7a1fc8719483c78beed08f71144ea2 (patch) | |
| tree | 883d7e0e25c04cc128ef6dcc89c20955108ba2a5 | |
| parent | 32971b0af4761fa9527c2fa0922a9b31eec5245f (diff) | |
| download | gitlab-ce-4fca1fc5ab7a1fc8719483c78beed08f71144ea2.tar.gz | |
Update copy for generating new recovery codes
| -rw-r--r-- | app/views/profiles/accounts/show.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/profiles/accounts/show.html.haml b/app/views/profiles/accounts/show.html.haml index c8158f8f179..9f9a12c7913 100644 --- a/app/views/profiles/accounts/show.html.haml +++ b/app/views/profiles/accounts/show.html.haml @@ -37,11 +37,11 @@ = link_to "Disable Two-factor Authentication", profile_two_factor_auth_path, method: :delete, class: 'btn btn-close btn-sm', data: { confirm: 'Are you sure?' } %p - If you lose your recovery codes, you can + If you lose your recovery codes you can %strong - = succeed '.' do - = link_to "generate new ones", codes_profile_two_factor_auth_path, method: :post, - data: { confirm: 'This will invalidate the old codes. Are you sure?' } + = succeed ',' do + = link_to "generate new ones", codes_profile_two_factor_auth_path, method: :post, data: { confirm: 'Are you sure?' } + invalidating all previous codes. - else %legend Two-factor Authentication |
