From a4267033f2cc72e46ba5f1bfdfca296978df2117 Mon Sep 17 00:00:00 2001 From: Robert Speicher Date: Fri, 8 May 2015 20:56:04 -0400 Subject: [PATCH] Add a hint on login form about using a recovery code --- app/views/devise/sessions/two_factor.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/devise/sessions/two_factor.html.haml b/app/views/devise/sessions/two_factor.html.haml index 779928631ac..30ddd0bd3c6 100644 --- a/app/views/devise/sessions/two_factor.html.haml +++ b/app/views/devise/sessions/two_factor.html.haml @@ -8,5 +8,6 @@ .alert.alert-danger = @error = f.text_field :otp_attempt, class: 'form-control', placeholder: 'Two-factor authentication code', required: true, autofocus: true + %p.help-block.hint If you've lost your phone, you may enter one of your recovery codes. .prepend-top-20 = f.submit "Verify code", class: "btn btn-save"