Laravel 安装 Laravel-mongodb后导致Laravel Auth失败

Aug 21, 2017

打开

vendor/laravel/framework/src/Illuminate/Foundation/Auth/User.php

替换

use Illuminate\Database\Eloquent\Model;

use Jenssegers\Mongodb\Eloquent\Model as Model;