I'm getting the following error when I login with username and password:
I've tried:
cache:clear
route:clear
view:clear
config:clear
but it not working
php artisan optimize
When you clear you cache you have to config it as well. Optimize
command will do that for you (also clear your routes,files etc etc all in 1), or php artisan config:cache
after clear
But that issue could come from your form itself. Make sure in your form you have this field inside :
<form method="POST" action="/myPage">
@csrf
// html goes here.
</form
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.