laravel Auth::attempt用法
来源:5-5 技巧-如何查找门脸及注入类方法

静秋叶
2018-08-31
https://laravel-china.org/topics/1151/laravel-login-verification-auth-attempt-method-can-not-be-used-for-great-god-pointing 网上这个帖子的问题跟我遇到的一模一样
写回答
1回答
-
轩脉刃
2018-09-02
Argument 1 passed to Illuminate\Auth\EloquentUserProvider::validateCredentials() must be an instance of Illuminate\Contracts\Auth\Authenticatable, instance of App\User given, called in D:\wamp\www\laravel\vendor\laravel\framework\src\Illuminate\Auth\Guard.php on line 390 and defined
你的App\User是不是 extends Authenticatable了?
00
相似问题