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

Make sure nil values doesn't throw exceptions for authentication and get_by #201

Merged
merged 1 commit into from
May 26, 2019

Conversation

danschultzer
Copy link
Collaborator

Resolves #200 so nil values are now handled before calling Pow.Ecto.Schema.normalize_user_id_field_value/1. Also Pow.Ecto.Context.authenticate/2 will just return nil early if either user id or password is nil.

@danschultzer danschultzer merged commit 6086b03 into master May 26, 2019
@danschultzer danschultzer deleted the handle-user-id-nil-values branch May 26, 2019 15:16
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.

Unable to use 'Pow.Plug.authenticate_user(conn, params)' method for my API request.
1 participant