From 4fca1fc5ab7a1fc8719483c78beed08f71144ea2 Mon Sep 17 00:00:00 2001 From: Robert Speicher <rspeicher@gmail.com> Date: Fri, 8 May 2015 20:45:50 -0400 Subject: [PATCH] Update copy for generating new recovery codes --- app/views/profiles/accounts/show.html.haml | 8 ++++---- 1 file 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 -- GitLab