change the appearance of the 2FA badge

This commit is contained in:
Luna D 2019-12-19 17:45:09 -05:00
parent 45e3d2801d
commit a179d032c2
No known key found for this signature in database
GPG key ID: D0F46C94720BAA4B

View file

@ -34,10 +34,14 @@ h1 Users
= cond do = cond do
- user.otp_required_for_login -> - user.otp_required_for_login ->
span.banner__2fa.success 2FA span.banner__2fa.success
i.fas.fa-check>
' 2FA
- user.role != "user" and !user.otp_required_for_login -> - user.role != "user" and !user.otp_required_for_login ->
span.banner__2fa.danger 1FA span.banner__2fa.danger
i.fas.fa-times>
' 2FA
- true -> - true ->