Jul 13, 2020
0
Level 1
Getting unauthenticated message when logging in with different credentials
Hello,
Laravel Version: 7.17.2 - PHP Version: 7.4.1 - Session Driver: Database
I'm using ajax to login, When i log out and login with a different account it says {"message": "unauthenticated"}
I also checked the sessions table, It creates two records for the same account, one's user_id is null the other's is 2, instead of updating the null record or deleting it.
This happens time to time.
I've not modified the authentication system. Deleting cookies, Deleting session records from the table doesn't give a hand.
Please or to participate in this conversation.