hassox / phoenix_guardian

A demo application showing usage of guardian and ueberauth
MIT License
300 stars 70 forks source link

Incorrect error if user exists on sign up form #37

Open enilsen16 opened 8 years ago

enilsen16 commented 8 years ago

If the user already exists, but tries to sign up again using the original email but a different password, rather than prompt the user that the email already exists, the error returned is password_does_not_match. This is because technically users can log in via the sign up form.

charleshan commented 8 years ago

+1. Temporary solution:

# mix.exs

depf deps do
  [
    {:ueberauth_facebook, git: "https://github.com/ueberauth/ueberauth_facebook.git", ref: "2e3c118"}
  ]
end