Vinelab / NeoEloquent

The Neo4j OGM for Laravel
MIT License
633 stars 197 forks source link

Argument 1 passed to Illuminate\Auth\EloquentUserProvider::validateCredentials() #319

Closed lucasjovencio closed 5 years ago

lucasjovencio commented 5 years ago

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_RECOVERABLE_ERROR) Argument 1 passed to Illuminate\Auth\EloquentUserProvider::validateCredentials() must be an instance of Illuminate\Contracts\Auth\Authenticatable, instance of App\User given, called in /projects/neo4jlaravel/vendor/laravel/framework/src/Illuminate/Auth/SessionGuard.php on line 378

Laravel: 5.6 NeoEloquent: 1.4.7 I also tried with 1.4.6

Any solution?

[ERROR] capturar

[MODEL] image

[LOGIN] image

lucasjovencio commented 5 years ago

I succeeded in following the steps of #144

[MODEL]

image

[RESULT] image

ksteflovic commented 4 years ago

Full code of User class?