摘要: 按照官方文档进行认证 发现不管怎么样都是失败if (Auth::attempt(array('email' => $email, 'password' => $password), true)){ // 用户状态永久保存...}研究他的源代码 Auth定义在vendor/laravel/framework/src/Illuminate/Auth attempt方法在Guard.php 这个方法最关键的就是$this->lastAttempted = $user = $this->provider->retrieveByCredent 阅读全文
posted @ 2014-02-28 00:38 heyli 阅读(8608) 评论(1) 推荐(1) 编辑