Answer the question
In order to leave comments, you need to log in
Authorization on Laravel5?
Hello. I'm learning Laravel 5 and faced the same problem.
I moved all the models to the app/Models folder, after which the attempt to authorize on the site through the AuthController fails and I get an error:
FatalErrorException in EloquentUserProvider.php line 127:
Class '\App\User' not found
use \App\Models\Users;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question