diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-05-08 20:56:04 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-05-09 17:32:09 -0400 |
commit | a4267033f2cc72e46ba5f1bfdfca296978df2117 (patch) | |
tree | 02dc9cdd118ff8b82ffd929430ef56fc8b882c92 /app/views/devise/sessions/two_factor.html.haml | |
parent | 8eb577ae9852d5304c28a0bc01d462b146427050 (diff) | |
download | gitlab-ce-a4267033f2cc72e46ba5f1bfdfca296978df2117.tar.gz |
Add a hint on login form about using a recovery code
Diffstat (limited to 'app/views/devise/sessions/two_factor.html.haml')
-rw-r--r-- | app/views/devise/sessions/two_factor.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
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" |