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

Login rememberme posts undefined in the email input box #10

Open
joseflabias opened this issue Feb 27, 2020 · 1 comment
Open

Login rememberme posts undefined in the email input box #10

joseflabias opened this issue Feb 27, 2020 · 1 comment

Comments

@joseflabias
Copy link

In the login component when clicking remember me and submitting the form, is saving values.id instead of the email into the localStorage

client\src\components\views\LoginPage\LoginPage.js
line: 51
window.localStorage.setItem('rememberMe', values.id);

I changed to this and now it works fine:

window.localStorage.setItem('rememberMe', values.email);

@nymouse
Copy link

nymouse commented May 6, 2020

but password is empty ...

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