Commit 47c157af authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Merge branch 'add-2fa-button' into 'master'

Add 2fa button

Closes #47963

See merge request gitlab-org/gitlab-ce!20117
parents 623ba9fd 8ee1ccf0
...@@ -279,6 +279,10 @@ table.u2f-registrations { ...@@ -279,6 +279,10 @@ table.u2f-registrations {
} }
} }
.codes {
padding-top: 14px;
}
.oauth-application-show { .oauth-application-show {
.scope-name { .scope-name {
font-weight: $gl-font-weight-bold; font-weight: $gl-font-weight-bold;
......
...@@ -10,4 +10,6 @@ ...@@ -10,4 +10,6 @@
%li %li
%span.monospace= code %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'
---
title: Add button to download 2FA codes
merge_request:
author: Luke Picciau
type: added
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment