mercredi 23 novembre 2016

Auth::login related to database

Auth::login($token->user, $request->remember);

in MagicLoginController

gives me this error:

FatalThrowableError in SessionGuard.php line 439: Type error: Argument 1 passed to Illuminate\Auth\SessionGuard::login() must implement interface Illuminate\Contracts\Auth\Authenticatable, null given, called in C:\wamp64\www\this\vendor\laravel\framework\src\Illuminate\Auth\AuthManager.php on line 294



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire