mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
fix(portal): Do not redact userpass virtual state (its a virtual field anyway) (#4370)
Closes #4354
This commit is contained in:
@@ -56,11 +56,6 @@ defmodule Domain.Auth.Adapters.UserPass do
|
||||
changeset
|
||||
|
||||
%{valid?: true} = nested_changeset ->
|
||||
nested_changeset =
|
||||
nested_changeset
|
||||
|> Domain.Repo.Changeset.redact_field(:password)
|
||||
|> Domain.Repo.Changeset.redact_field(:password_confirmation)
|
||||
|
||||
password_hash = Ecto.Changeset.fetch_change!(nested_changeset, :password_hash)
|
||||
|
||||
{changeset, _original_type} =
|
||||
|
||||
Reference in New Issue
Block a user