Laravel 5 哨兵:如何禁用 "activation" 和 "throttle" 检查点?
Laravel 5 sentinel: How can disable "activation" and "throttle" checkpoints?
有没有办法禁用 "activation" 和 "throttle" 签入哨兵?
感谢您为此提供的任何帮助。
只需在哨兵配置中找到一个检查点数组并对其进行注释即可。
'checkpoints' => [
//'throttle',
//'activation',
],
试一试:
Open file Kernel.php from "app/Http/"
并发表评论
'api' => [
//'throttle:60,1',
'bindings',
],
有没有办法禁用 "activation" 和 "throttle" 签入哨兵?
感谢您为此提供的任何帮助。
只需在哨兵配置中找到一个检查点数组并对其进行注释即可。
'checkpoints' => [
//'throttle',
//'activation',
],
试一试:
Open file Kernel.php from "app/Http/"
并发表评论
'api' => [
//'throttle:60,1',
'bindings',
],