Add 2fa button

This commit is contained in:
Luke Picciau 2018-09-17 15:59:21 +00:00 committed by Annabel Dunstone Gray
parent 623ba9fd64
commit 8ee1ccf093
3 changed files with 12 additions and 1 deletions

View File

@ -279,6 +279,10 @@ table.u2f-registrations {
}
}
.codes {
padding-top: 14px;
}
.oauth-application-show {
.scope-name {
font-weight: $gl-font-weight-bold;

View File

@ -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'

View File

@ -0,0 +1,5 @@
---
title: Add button to download 2FA codes
merge_request:
author: Luke Picciau
type: added