ueberauth / ueberauth_identity

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

How do you clear the password from the assigns? #21

Open axelson opened 7 years ago

axelson commented 7 years ago

When the user enter's an incorrect password, I want to re-render the login page with their email still filled but not their password. It seems like I may have to reach into the %Ueberauth.Auth{} struct in conn.assigns to accomplish this. Is that correct? Are there any methods to accomplish this? I don't see any in the docs.

doomspork commented 6 years ago

@axelson I'm not sure I follow why you need the Auth struct at all? Do you have some code we could look at?