Commit 8ee1ccf0 authored by Luke Picciau's avatar Luke Picciau Committed by Annabel Dunstone Gray

Add 2fa button

parent 623ba9fd
...@@ -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