1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 23:45:21 +02:00

hide auth tabs on mfa/verify

This commit is contained in:
neo773 2025-04-19 00:19:57 +05:30
parent 14892bef95
commit ecb786fcf7
No known key found for this signature in database
GPG key ID: 6B43F29FCC69B333

View file

@ -10,7 +10,7 @@
<h2 class="text-3xl font-medium text-primary text-center">
<%= content_for?(:header_title) ? yield(:header_title).html_safe : t(".your_account") %>
</h2>
<% unless controller_name == "mfa" && action_name == "verify" %>
<% if (controller_name == "sessions" && action_name == "new") || (controller_name == "registrations" && action_name == "new") %>
<div class="space-y-3 md:hidden w-full my-4">
<div class="bg-surface-inset rounded-lg p-1 flex">
<%= link_to new_session_path,