Silverman42

Please guys i am really in need of your help with this laravel issue i am having …

Sat 24 Feb, 2018 07:54 pm

Please guys i am really in need of your help with this laravel issue i am having. Each time i try to use  either  the login form or the registration form, i keep getting this 'tokenMismatch' error. I have been battling with this issue for 6 days.  I have tried all the solutions i have come across online but all have failed. I feel so frustrated that i am beginning to regret why i started using laravel in the first place. Please guys i need your help.

Comments

mista_cee

Sun 25 Feb, 2018 12:29 am

Ah.....  Are you sure the csrf_field is included in your code?  If yes,  check ur app key make sure inserted correctly

Silverman42

Tue 27 Feb, 2018 06:56 pm

Bro, i checked all of that and they were all in place. But when i changed the session domain from http://localhost to null, it started working again. At least, i feel vindicated that all my coding stress wasn't in vain

mrcodes

Sun 04 Mar, 2018 08:07 am

Have you gotten it to work now? else you may have to do a couple of things just to try like doing a 'composer dumpautoload', check the csrf_field() ensure you refresh the page again