summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-03 16:59:33 +0000
committerPhil Hughes <me@iamphill.com>2016-03-11 09:51:07 +0000
commita9d97838a399f153a23c7a9a9656a3a0ed912dcc (patch)
tree61465ade72e1819d4b70302903881f98bab6a67b
parent218f3e702a19b8682219d0d8932e7b34986c00d4 (diff)
downloadgitlab-ce-a9d97838a399f153a23c7a9a9656a3a0ed912dcc.tar.gz
Added back 2fa configure later button
-rw-r--r--app/views/profiles/two_factor_auths/new.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/profiles/two_factor_auths/new.html.haml b/app/views/profiles/two_factor_auths/new.html.haml
index c82c5962191..5d342ef58e5 100644
--- a/app/views/profiles/two_factor_auths/new.html.haml
+++ b/app/views/profiles/two_factor_auths/new.html.haml
@@ -38,3 +38,4 @@
= text_field_tag :pin_code, nil, class: "form-control", required: true
.prepend-top-default
= submit_tag 'Enable two-factor authentication', class: 'btn btn-success'
+ = link_to 'Configure it later', skip_profile_two_factor_auth_path, :method => :patch, class: 'btn btn-cancel' if two_factor_skippable?