Keep these tokens secret, anyone with access to them can interact with
Keep these tokens secret, anyone with access to them can interact with
GitLab as if they were you.
GitLab as if they were you.
.col-lg-9.private-tokens-reset
.col-lg-8.private-tokens-reset
=renderpartial: 'reset_token',locals: {label: 'Private token',button_label: 'Reset private token',help_text: 'Your private token is used to access the API and Atom feeds without username/password authentication.'}
=renderpartial: 'reset_token',locals: {label: 'Private token',button_label: 'Reset private token',help_text: 'Your private token is used to access the API and Atom feeds without username/password authentication.'}
=renderpartial: 'reset_token',locals: {label: 'RSS token',button_label: 'Reset RSS token',help_text: 'Your RSS token is used to create urls for personalized RSS feeds.'}
=renderpartial: 'reset_token',locals: {label: 'RSS token',button_label: 'Reset RSS token',help_text: 'Your RSS token is used to create urls for personalized RSS feeds.'}
...
@@ -22,12 +23,12 @@
...
@@ -22,12 +23,12 @@
%hr
%hr
.row.prepend-top-default
.row.prepend-top-default
.col-lg-3.profile-settings-sidebar
.col-lg-4.profile-settings-sidebar
%h4.prepend-top-0
%h4.prepend-top-0
Two-Factor Authentication
Two-Factor Authentication
%p
%p
Increase your account's security by enabling Two-Factor Authentication (2FA).
Increase your account's security by enabling Two-Factor Authentication (2FA).
Use an app on your mobile device to enable two-factor authentication (2FA).
Use an app on your mobile device to enable two-factor authentication (2FA).
.col-lg-9
.col-lg-8
-ifcurrent_user.two_factor_otp_enabled?
-ifcurrent_user.two_factor_otp_enabled?
=icon"check inverse",base: "circle",class: "text-success",text: "You've already enabled two-factor authentication using mobile authenticator applications. You can disable it from your account settings page."
=icon"check inverse",base: "circle",class: "text-success",text: "You've already enabled two-factor authentication using mobile authenticator applications. You can disable it from your account settings page."
-else
-else
...
@@ -20,9 +21,9 @@
...
@@ -20,9 +21,9 @@
Download the Google Authenticator application from App Store or Google Play Store and scan this code.
Download the Google Authenticator application from App Store or Google Play Store and scan this code.
More information is available in the #{link_to('documentation',help_page_path('profile/two_factor_authentication'))}.
More information is available in the #{link_to('documentation',help_page_path('profile/two_factor_authentication'))}.
.row.append-bottom-10
.row.append-bottom-10
.col-md-3
.col-md-4
=raw@qr_code
=raw@qr_code
.col-md-9
.col-md-8
.account-well
.account-well
%p.prepend-top-0.append-bottom-0
%p.prepend-top-0.append-bottom-0
Can't scan the code?
Can't scan the code?
...
@@ -50,7 +51,7 @@
...
@@ -50,7 +51,7 @@
.row.prepend-top-default
.row.prepend-top-default
.col-lg-3
.col-lg-4
%h4.prepend-top-0
%h4.prepend-top-0
Register Universal Two-Factor (U2F) Device
Register Universal Two-Factor (U2F) Device
%p
%p
...
@@ -59,7 +60,7 @@
...
@@ -59,7 +60,7 @@
As U2F devices are only supported by a few browsers, we require that you set up a
As U2F devices are only supported by a few browsers, we require that you set up a
two-factor authentication app before a U2F device. That way you'll always be able to
two-factor authentication app before a U2F device. That way you'll always be able to
log in - even when you're using an unsupported browser.
log in - even when you're using an unsupported browser.