解决FatalThrowableError in EloquentUserProvider.php line 126: Class '\App\User'问题

解决方法:http://stackoverflow.com/questions/28516454/laravel-5-user-model-not-found

总结:是因为我把app下的User移动到app\Models下了,所以You need to update your config/auth.php file. Change 'model' => 'App\User' to 'model' => 'App\Models\User'.

posted @ 2016-08-10 21:40  Seaurl  阅读(4171)  评论(0编辑  收藏  举报