Ash Policies around :change_password action
I have a
And a LiveComponent (attached) to provide a form to allow the user to change their password. When I start typing in the form, the validation event is triggered, and the LiveView crashes because of an Ash error,
For the LiveViews provided by AshAuthenticationPhoenix, the
User resource with (mostly) the default update :change_password action generated by the igniter installer,And a LiveComponent (attached) to provide a form to allow the user to change their password. When I start typing in the form, the validation event is triggered, and the LiveView crashes because of an Ash error,
For the LiveViews provided by AshAuthenticationPhoenix, the
AshAuthentication.Checks.AshAuthenticationInteraction bypass is satisfied, but here I am running actions directly from my code. What would be a safe way to allow access to the password fields for only the password-changen workflow, without exposing it entirely?SAKMWzE.ex1.68KB
