Add 2fa button
This commit is contained in:
parent
623ba9fd64
commit
8ee1ccf093
|
@ -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 @@
|
||||||
%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'
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Add button to download 2FA codes
|
||||||
|
merge_request:
|
||||||
|
author: Luke Picciau
|
||||||
|
type: added
|
Loading…
Reference in New Issue