Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-09 03:41:53 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-05-10 00:32:09 +0300
commit32971b0af4761fa9527c2fa0922a9b31eec5245f (patch)
tree4f378a5ab57dc7d1a758160d1df272853a9d0400 /app/views/devise
parent6369d23d581ad36e7507d355a69237b90a912697 (diff)
Refactor SessionsController
Also adds test case for providing an invalid 2FA code and then a valid one without re-entering username and password.
Diffstat (limited to 'app/views/devise')
-rw-r--r--app/views/devise/sessions/two_factor.html.haml1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/views/devise/sessions/two_factor.html.haml b/app/views/devise/sessions/two_factor.html.haml
index 32ba90fd7ce..779928631ac 100644
--- a/app/views/devise/sessions/two_factor.html.haml
+++ b/app/views/devise/sessions/two_factor.html.haml
@@ -7,7 +7,6 @@
- if @error
.alert.alert-danger
= @error
- = f.hidden_field :login
= f.text_field :otp_attempt, class: 'form-control', placeholder: 'Two-factor authentication code', required: true, autofocus: true
.prepend-top-20
= f.submit "Verify code", class: "btn btn-save"