Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
a4267033
Commit
a4267033
authored
May 08, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a hint on login form about using a recovery code
parent
8eb577ae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
app/views/devise/sessions/two_factor.html.haml
app/views/devise/sessions/two_factor.html.haml
+1
-0
No files found.
app/views/devise/sessions/two_factor.html.haml
View file @
a4267033
...
@@ -8,5 +8,6 @@
...
@@ -8,5 +8,6 @@
.alert.alert-danger
.alert.alert-danger
=
@error
=
@error
=
f
.
text_field
:otp_attempt
,
class:
'form-control'
,
placeholder:
'Two-factor authentication code'
,
required:
true
,
autofocus:
true
=
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
.prepend-top-20
=
f
.
submit
"Verify code"
,
class:
"btn btn-save"
=
f
.
submit
"Verify code"
,
class:
"btn btn-save"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment