diff options
author | Luke Picciau <git@itscode.red> | 2018-09-17 18:59:21 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2018-09-17 18:59:21 +0300 |
commit | 8ee1ccf093fc6effb95dda17a73850b1b95d4d2b (patch) | |
tree | d9d3ae249e2e9ab3778e42df131527fae28d4477 /app/views/profiles | |
parent | 623ba9fd64bd349581d8f60c69d8933f641fa1e4 (diff) |
Add 2fa button
Diffstat (limited to 'app/views/profiles')
-rw-r--r-- | app/views/profiles/two_factor_auths/_codes.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/profiles/two_factor_auths/_codes.html.haml b/app/views/profiles/two_factor_auths/_codes.html.haml index 93722d7b034..30a22099bbc 100644 --- a/app/views/profiles/two_factor_auths/_codes.html.haml +++ b/app/views/profiles/two_factor_auths/_codes.html.haml @@ -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' |