Laravel 5.3 登录限制
Laravel 5.3 login throttling
如何在 Laravel 5.3 中启用登录限制?
它应该默认启用吗?
在哪里可以配置?
我在配置文件中找不到任何内容。我将 ldap 身份验证与 adldap 库一起使用。
If you are using Laravel's built-in LoginController class, the Illuminate\Foundation\Auth\ThrottlesLogins trait will already be included in your controller. By default, the user will not be able to login for one minute if they fail to provide the correct credentials after several attempts
简单。
在 .env 中,如果 CACHE_DRIVER 设置为数组,它将不起作用。
例如,将 CACHE_DRIVER 设置为文件。
如何在 Laravel 5.3 中启用登录限制? 它应该默认启用吗? 在哪里可以配置? 我在配置文件中找不到任何内容。我将 ldap 身份验证与 adldap 库一起使用。
If you are using Laravel's built-in LoginController class, the Illuminate\Foundation\Auth\ThrottlesLogins trait will already be included in your controller. By default, the user will not be able to login for one minute if they fail to provide the correct credentials after several attempts
简单。 在 .env 中,如果 CACHE_DRIVER 设置为数组,它将不起作用。 例如,将 CACHE_DRIVER 设置为文件。