mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Disable form autocomplete in some cases (#636)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div>
|
||||
<.form let={f} for={@changeset} id="account-edit" phx-target={@myself} phx-submit="save">
|
||||
<.form let={f} for={@changeset} autocomplete="off" id="account-edit" phx-target={@myself} phx-submit="save">
|
||||
<div class="block">
|
||||
<p>Change email or enter new password below.</p>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div>
|
||||
<.form let={f} for={@changeset} id="user-form" phx-target={@myself} phx-submit="save">
|
||||
<.form let={f} for={@changeset} autocomplete="off" id="user-form" phx-target={@myself} phx-submit="save">
|
||||
<%= if @action == :edit do %>
|
||||
<div class="block">
|
||||
<p>Change user email or enter new password below.</p>
|
||||
|
||||
Reference in New Issue
Block a user