diff --git a/app/views/profiles/accounts/show.html.haml b/app/views/profiles/accounts/show.html.haml index c8158f8f179f8d272b10b24fe5749ce92e2fce32..9f9a12c791360210c684e51ecf4490a8e5bfe23c 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