summaryrefslogtreecommitdiff
path: root/app/views/profiles/two_factor_auths/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/two_factor_auths/show.html.haml')
-rw-r--r--app/views/profiles/two_factor_auths/show.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/profiles/two_factor_auths/show.html.haml b/app/views/profiles/two_factor_auths/show.html.haml
index 8780da1dec4..366f1fed35b 100644
--- a/app/views/profiles/two_factor_auths/show.html.haml
+++ b/app/views/profiles/two_factor_auths/show.html.haml
@@ -2,6 +2,10 @@
- header_title "Two-Factor Authentication", profile_two_factor_auth_path
= render 'profiles/head'
+- if inject_u2f_api?
+ - content_for :page_specific_javascripts do
+ = page_specific_javascript_tag('u2f.js')
+
.row.prepend-top-default
.col-lg-3
%h4.prepend-top-0