use*_*278 3 php login laravel laravel-5
我正在使用Laravel的Auth Throttling功能,它可以正常工作,但是我想知道如何清除该电子邮件的登录尝试? http://laravel.com/docs/5.1/authentication#authentication-throttling
当前锁定时间为“尝试登录过多。请在5418秒内重试”
在包含该ThrottlesLogins特征的控制器中,创建一个新的路由处理程序方法:
public function clearThrottle(Request $request) {
$this->clearLoginAttempts($request);
// Forward elsewhere or display a view
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4494 次 |
| 最近记录: |