ueberauth / ueberauth_identity

A username/password Strategy for Überauth
MIT License
79 stars 21 forks source link

Strategy.Identity: undefined function "validate_password" in "identity_callback" #31

Closed ndrean closed 2 years ago

ndrean commented 2 years ago

Steps to Reproduce

Set as the example. Phoenix 1.13

Expected Result

The identity_callback uses an undefined function "validate_password".

Actual Result

def identity_callback(%{assigns: %{ueberauth_auth: auth}} = conn, params) do case validate_password(auth.credentials)

yordis commented 2 years ago

validate_password is something that exists in your application, it was used to showcase an example of how it would work, but you need to implement it