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

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

Open
axelson opened this issue Sep 20, 2017 · 1 comment
Open

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

axelson opened this issue Sep 20, 2017 · 1 comment

Comments

@axelson
Copy link

axelson commented Sep 20, 2017

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
Copy link
Member

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

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

No branches or pull requests

2 participants