Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

djniq's avatar
Level 1

I seed database (jawsdb) on newly deployed app on Heroku but i cant log in with the user credentials(Laravel)

I just deployed a new Laravel app(with tailwind + vue 3) on Heroku (with JawsDB as my mysql addon). I already did DB migration and db:seed for my users. The app is displayed properly and on https. When I try to log in using the credentials that were seed, it just stays there at the login page. However, when i deliberately enter wrong credentials, I get the error message that I intended to display. Please be patient with since Im just trying out heroku for school project. Thank you in advance!

0 likes
2 replies
gr33n_al's avatar

Since it returns error messages on wrong credentials then maybe you have forgotten to return something on login success, you should redirect the user to /dashboard or whatever the destination may be after user logs in.

djniq's avatar
Level 1

@gr33n_al Thanks, but I set it already. Its working on my local machine.

Please or to participate in this conversation.