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

Unable to login with default user when installed from scratch #31

Closed
denistorresan opened this issue Jan 12, 2023 · 1 comment · Fixed by #32
Closed

Unable to login with default user when installed from scratch #31

denistorresan opened this issue Jan 12, 2023 · 1 comment · Fixed by #32
Labels
bug Something isn't working

Comments

@denistorresan
Copy link

Hi,
I tested a fresh installation, and after migrate and db:seed I tryed to login using john.doe@helper.app / Passw@rd and seems not work (login invalid on form).

btw, I suggest to replace on Database\Seeders\DefaultUserSeeder.php the hashed password from:

            'password' => '$2a$12$h/.Jq3QGHYoJBLBo8hw1mOtJOmtU.BVJFbBWFC7XAVXmE5gOjdXV.', // Passw@rd

to:

            'password' => bcrypt('Passw@rd'),
@heloufir
Copy link
Contributor

Okey I think this would be the problem, not letting you login with this password (pre-hashed).

I will update and push a new PR containing what you suggested.

@heloufir heloufir added the bug Something isn't working label Jan 12, 2023
@heloufir heloufir linked a pull request Jan 12, 2023 that will close this issue
@denistorresan denistorresan removed their assignment Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants