summaryrefslogtreecommitdiff
path: root/app/views/shared/members/_two_factor_auth_badge.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/members/_two_factor_auth_badge.html.haml')
-rw-r--r--app/views/shared/members/_two_factor_auth_badge.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/shared/members/_two_factor_auth_badge.html.haml b/app/views/shared/members/_two_factor_auth_badge.html.haml
new file mode 100644
index 00000000000..34850c135d6
--- /dev/null
+++ b/app/views/shared/members/_two_factor_auth_badge.html.haml
@@ -0,0 +1,3 @@
+- if user.two_factor_enabled?
+ = render 'shared/members/badge', type: 'info' do
+ = _("2FA")