Skip to content

Commit

Permalink
Merge branch 'bc-redirect-home' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-s76 committed May 15, 2024
2 parents 15577f6 + 8a634c7 commit 8ef8a93
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,6 @@
every time you log in.
</p>

<% phone_allowed = Map.get(assigns, :allow_phone_methods, true) %>

<%= inputs_for f, :notification_preference, fn n -> %>
<div class="label mt-4">
Authentication Method Preference
Expand All @@ -216,7 +214,7 @@
Authenticator App
<% end %>

<%= if phone_allowed do %>
<%= if @allow_phone_methods do %>

<%= label class: "label" do %>
<%= radio_button n, :two_factor, "text" %>
Expand All @@ -232,7 +230,7 @@
</div>
<% end %>

<%= if phone_allowed do %>
<%= if @allow_phone_methods do %>
<p class="is-size-7">
Message and data rates may apply for text message and phone call
methods.
Expand Down

0 comments on commit 8ef8a93

Please sign in to comment.