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
Kazuhiko Shiozaki
gitlab-ce
Commits
4fca1fc5
Commit
4fca1fc5
authored
May 08, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update copy for generating new recovery codes
parent
32971b0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
app/views/profiles/accounts/show.html.haml
app/views/profiles/accounts/show.html.haml
+4
-4
No files found.
app/views/profiles/accounts/show.html.haml
View file @
4fca1fc5
...
...
@@ -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
...
...
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