Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast user params when showing :add_user_id page #114

Closed
wants to merge 1 commit into from

Conversation

danschultzer
Copy link
Collaborator

As discussed in #113 this will cast the user params in the changeset for the :add_user_id route. This makes sense since anyway the same user params are casted in when the :create route is called.

I should probably create a dedicated PowAssent.Plug.change_user/2 method and handle the user params there so it works the same way as PowAssent.Plug.create_user/4 method call.

@danschultzer danschultzer deleted the cast-user-params-in-add-user-id branch February 2, 2020 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant