M
M
mynameisflipe2017-04-23 16:27:46
Laravel
mynameisflipe, 2017-04-23 16:27:46

How to transfer Laravel to another domain?

When transferring the site to another domain, I encountered the following problem:
When submitting any form or ajax request, an error occurs: TokenMismatchException in VerifyCsrfToken.php line 68
Has anyone encountered this?
I am using Laravel 5.3

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
someart, 2017-05-08
@mynameisflipe

Try clearing your session data.
After changing the domain, did you change the data in .env? Maybe the form is still being sent to the old address?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question