token mismatch on localhost only

Posted 5 months ago by deansatch

I have a site which works fine on the live server. It also works fine on my old macbook localhost. I have copied it over to my new macbook but when I try sign in or sign up I get a token mismatch error. Tried it on valet, then homestead (with homestead mysql) but it still throws the error. "Illuminate \ Session \ TokenMismatchException"

This is an exact copy of the one on my other macbook - I've tried clearing cache & config. Cleared cookies. If I push this to production it works ok on there.

Any ideas?

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.