update :change_user_timezone do argument :user_timezone, :string do allow_nil? true end change set_attribute(:user_timezone, arg(:user_timezone)) end update :change_user_password do argument :hashed_password, :string do allow_nil? true end argument :password_confirmation, :string do allow_nil? true sensitive? true end argument :password, :string do allow_nil? true sensitive? true end # https://github.com/ash-project/ash/issues/516 change set_context(%{strategy_name: :password}) #### THIS DIDN"T FIX THE PROBLEM validate AshAuthentication.Strategy.Password.PasswordConfirmationValidation change AshAuthentication.Strategy.Password.HashPasswordChange change AshAuthentication.GenerateTokenChange
update :change_user_timezone do argument :user_timezone, :string do allow_nil? true end change set_attribute(:user_timezone, arg(:user_timezone)) end update :change_user_password do argument :hashed_password, :string do allow_nil? true end argument :password_confirmation, :string do allow_nil? true sensitive? true end argument :password, :string do allow_nil? true sensitive? true end # https://github.com/ash-project/ash/issues/516 change set_context(%{strategy_name: :password}) #### THIS DIDN"T FIX THE PROBLEM validate AshAuthentication.Strategy.Password.PasswordConfirmationValidation change AshAuthentication.Strategy.Password.HashPasswordChange change AshAuthentication.GenerateTokenChange
Describe the bug The following error when running validation of a password change form. iex(1)> [debug] HANDLE EVENT View: MyAppWeb.UserLive.UserSettings Event: "validate_password&a...
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.