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

@@ -26,12 +26,21 @@
<% if alert %><div class=""><%= alert %></div><% end %>
<%= yield %>
</main>
<% if Rails.env == "development" %>
<footer>
RoR Version <%= Rails.version %> (<%=Rails.env%>) | Ruby <%= "#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}" %> | OS <%= RUBY_PLATFORM %> | App Version <%= `git describe --always` %>
<% if user_signed_in? %>
<hr/>
<%= "User:#{current_user.email} | OTP for login:#{current_user.otp_required_for_login} | " %>
<% end %>
<!--
<h3>To-Do (In order of importance):</h3>
<ul>
<li>2FA</li>
</ul>
-->
<% end %>
</footer>
</body>
</html>