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

Log In not working #33

Open
iPhatty opened this issue Aug 24, 2018 · 1 comment
Open

Log In not working #33

iPhatty opened this issue Aug 24, 2018 · 1 comment
Assignees

Comments

@iPhatty
Copy link

iPhatty commented Aug 24, 2018

I've tried logging in using my new user but it says the password is invalid.

I think you can solve this by making an adjustment in your db_build.sql and to change your password datatype to VARCHAR. I am not sure why but the bcrypt.compare is only able to read VARCHAR based on my experience. Hope this helps!

@MissArray
Copy link
Collaborator

I tried logging in with a username I created and it does log me in when I type it exactly as in the registration, but not when I type it in lower case, so we need to make it case-insensitive. Thanks for raising this issue.

@developess developess self-assigned this Aug 24, 2018
developess added a commit that referenced this issue Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants