Support the ongoing development of Laravel.io →
Authentication Security Forms
Last updated 1 year ago.
0

well what do you mean by trap? what exactly are you trying to do here? I am confused..

if you leave a form page open for too long, and then post you get a tokenMismatch.. but that is a good thing why would you want to modify this behaviour?

One solution would be to get a new token from server by doing ajax request constantly.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.