summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jschatz1@gmail.com>2017-10-27 15:39:55 -0400
committerJacob Schatz <jschatz1@gmail.com>2017-10-27 15:39:55 -0400
commitc8bb5b17d1ad26a742a03dba33bfe8f9a94b8817 (patch)
tree00228f4e371d78edc61ed116a68e38fe2804275b
parentcb7da115bf056afdb5981e59aade67bdbf5465d5 (diff)
downloadgitlab-ce-c8bb5b17d1ad26a742a03dba33bfe8f9a94b8817.tar.gz
Refactor css 2fa page.
-rw-r--r--app/views/u2f/_register.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/u2f/_register.html.haml b/app/views/u2f/_register.html.haml
index 79e8f8d0e89..592989d458d 100644
--- a/app/views/u2f/_register.html.haml
+++ b/app/views/u2f/_register.html.haml
@@ -7,13 +7,13 @@
- if current_user.two_factor_otp_enabled?
.row.append-bottom-10
.col-md-4
- %button#js-setup-u2f-device.btn.btn-info.btn-block Setup new U2F device
+ %button#js-setup-u2f-device.btn.btn-info Setup new U2F device
.col-md-8
%p Your U2F device needs to be set up. Plug it in (if not already) and click the button on the left.
- else
.row.append-bottom-10
.col-md-4
- %button#js-setup-u2f-device.btn.btn-info.btn-block{ disabled: true } Setup new U2F device
+ %button#js-setup-u2f-device.btn.btn-info{ disabled: true } Setup new U2F device
.col-md-8
%p.text-warning You need to register a two-factor authentication app before you can set up a U2F device.