Merge branch 'add-2fa-button' into 'master'
Add 2fa button Closes #47963 See merge request gitlab-org/gitlab-ce!20117
This commit is contained in:
commit
47c157af47
3 changed files with 12 additions and 1 deletions
|
@ -279,6 +279,10 @@ table.u2f-registrations {
|
|||
}
|
||||
}
|
||||
|
||||
.codes {
|
||||
padding-top: 14px;
|
||||
}
|
||||
|
||||
.oauth-application-show {
|
||||
.scope-name {
|
||||
font-weight: $gl-font-weight-bold;
|
||||
|
|
|
@ -10,4 +10,6 @@
|
|||
%li
|
||||
%span.monospace= code
|
||||
|
||||
= link_to 'Proceed', profile_account_path, class: 'btn btn-success'
|
||||
.d-flex
|
||||
= link_to 'Proceed', profile_account_path, class: 'btn btn-success append-right-10'
|
||||
= link_to 'Download codes', "data:text/plain;charset=utf-8,#{URI.encode(@codes.join("\n"))}", download: "gitlab-recovery-codes.txt", class: 'btn btn-default'
|
||||
|
|
5
changelogs/unreleased/add-2fa-button.yml
Normal file
5
changelogs/unreleased/add-2fa-button.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Add button to download 2FA codes
|
||||
merge_request:
|
||||
author: Luke Picciau
|
||||
type: added
|
Loading…
Reference in a new issue