Keep these tokens secret, anyone with access to them can interact with
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: '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 @@
%hr
.row.prepend-top-default
.col-lg-3.profile-settings-sidebar
.col-lg-4.profile-settings-sidebar
%h4.prepend-top-0
Two-Factor Authentication
%p
Increase your account's security by enabling 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?
=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
...
...
@@ -20,9 +21,9 @@
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'))}.
.row.append-bottom-10
.col-md-3
.col-md-4
=raw@qr_code
.col-md-9
.col-md-8
.account-well
%p.prepend-top-0.append-bottom-0
Can't scan the code?
...
...
@@ -50,7 +51,7 @@
.row.prepend-top-default
.col-lg-3
.col-lg-4
%h4.prepend-top-0
Register Universal Two-Factor (U2F) Device
%p
...
...
@@ -59,7 +60,7 @@
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
log in - even when you're using an unsupported browser.