Home >Backend Development >PHP Tutorial >Laravel5.0 如何关闭指定route/controller的CSRF?

Laravel5.0 如何关闭指定route/controller的CSRF?

WBOY
WBOYOriginal
2016-06-06 20:26:081206browse

laravel5.1可以很简单的排除指定路由CSRF,

Laravel 5.0应该如何设置? 来自第三方的回调没发要求他们也有csrf。

回复内容:

laravel5.1可以很简单的排除指定路由CSRF,

Laravel 5.0应该如何设置? 来自第三方的回调没发要求他们也有csrf。

看看这个: http://www.camroncade.com/disable-csrf-for-specific-routes-laravel-5/

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn