Skip to content
Snippets Groups Projects
Commit 148178fb authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'rs-issue-1758' into 'master'

Update grids for 2FA details

Also adds a link to the documentation.

Closes #1758

See merge request !795
parents 97355801 fbdcaebc
Branches
Tags
No related merge requests found
Pipeline #
Loading
Loading
@@ -2,8 +2,10 @@
 
%h2.page-title Two-Factor Authentication (2FA)
%p
Download the Google Authenticator application from App Store for iOS or
Google Play for Android and scan this code.
Download the Google Authenticator application from App Store for iOS or Google
Play for Android and scan this code.
More information is available in the #{link_to('documentation', help_page_path('workflow', 'two_factor_authentication'))}.
 
%hr
 
Loading
Loading
@@ -12,10 +14,9 @@
.alert.alert-danger
= @error
.form-group
.col-sm-2
.col-sm-2
.col-lg-2.col-lg-offset-2
= raw @qr_code
.col-sm-8.manual-instructions
.col-lg-7.col-lg-offset-1.manual-instructions
%h3 Can't scan the code?
 
%p
Loading
Loading
@@ -33,7 +34,7 @@
%dd Yes
.form-group
= label_tag :pin_code, nil, class: "control-label"
.col-sm-10
.col-lg-10
= text_field_tag :pin_code, nil, class: "form-control", required: true, autofocus: true
.form-actions
= submit_tag 'Submit', class: 'btn btn-success'
Loading
Loading
@@ -45,7 +45,7 @@ storage in a safe place. **Each code can be used only once** to log in to your
account.
 
If you lose the recovery codes or just want to generate new ones, you can do so
from the **Profile Settings** > **Acount** page where you first enabled 2FA.
from the **Profile Settings** > **Account** page where you first enabled 2FA.
 
## Logging in with 2FA Enabled
 
Loading
Loading
@@ -60,7 +60,7 @@ your phone's application or a recovery code to log in.
 
1. Log in to your GitLab account.
1. Go to your **Profile Settings**.
1. Go to **Acount**.
1. Go to **Account**.
1. Click **Disable Two-factor Authentication**.
 
[Google Authenticator]: https://support.google.com/accounts/answer/1066447?hl=en
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment