When i publish my application from my local development server to the shared hosting server i get an error the first time someone logs in.
Error in Controller Account, Action method Login. Exception: The anti-forgery cookie token and form field token do not match.
I've tried adding a machinekey but that didn't seem to make a difference. I am refreshing the login page prior to trying to login. Seems like the same issue as this
The anti-forgery cookie token and form field token do not match in MVC 4
but the machine key didn't solve it. My application is ASP.Net 4.5.1 MVC5.1