diff --git a/src/Illuminate/Session/Middleware/AuthenticateSession.php b/src/Illuminate/Session/Middleware/AuthenticateSession.php index b32e3ba50283..efd34c35e662 100644 --- a/src/Illuminate/Session/Middleware/AuthenticateSession.php +++ b/src/Illuminate/Session/Middleware/AuthenticateSession.php @@ -44,7 +44,7 @@ public function __construct(AuthFactory $auth) */ public function handle($request, Closure $next) { - if (! $request->hasSession() || ! $request->user()) { + if (! $request->hasSession() || ! $request->user() || ! $request->user()->getAuthPassword()) { return $next($request); }