Laravel has a setting to exclude verification tokens, which is the following:
class VerifyCsrfToken extends BaseVerifier
{
protected $except = [
'stripe/*',
];
}
You can fill in the URL of the non-verified token. Some places cannot be excluded. If not excluded, a token error will be returned. However, will there be any security issues after being excluded?
巴扎黑2017-05-16 16:52:34
This is used to prevent CSRF attacks. You can search for the specific harm of CSRF attacks by yourself