I do believe that OTP/MFA is now working.

This commit is contained in:
2024-05-21 12:44:08 +01:00
parent 95675aa5ef
commit b72f88f60f
10 changed files with 65 additions and 6 deletions

View File

@@ -35,5 +35,12 @@
<%= f.submit "Update" %>
</div>
<% end %>
<hr/>
<% if current_user.otp_secret.to_s.size == 0 %>
<%= link_to "Enable MFA", new_mfa_path %>
<% else %>
<%= link_to "Edit MFA", new_mfa_path %>
<% end %>
|
<%= link_to "Back", :back %>