<% if RailsBase.config.mfa.enable? %> <% if current_user.mfa_enabled %> <%= render partial: 'rails_base/shared/modify_mfa_auth_modal'%> <% else %> <%= render partial: 'rails_base/shared/enable_mfa_auth_modal'%> <% end %> <% end %> <% if @__admin_actions_array && @__admin_actions_array.present? %> <%= render partial: 'rails_base/shared/admin_actions_modal'%> <% end %> <% if session[RailsBase::Authentication::Constants::ADMIN_REMEMBER_REASON].present? %> <% end %> <% if RailsBase.config.auth.session_timeout %> <% show_warning = RailsBase.config.auth.session_timeout_warning %> <% if show_warning %> <%= render partial: 'rails_base/shared/session_timeout_modal'%> <% end %> <% end%>