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:
parent
14892bef95
commit
ecb786fcf7
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue