I'm working with a Laravel 5.2 test site, and I'm using the built-in auth system to handle logins.
I changed the name of the app namespace to myTest using php artisan app:name myTest
However, when I submit the login form I'm still getting an error due to a namespace issue in the auth system:
FatalErrorException in EloquentUserProvider.php line 126:
Class '\App\User' not found
Is there somewhere I need to edit the namespace so that this will work?
EDIT: PSR4 block of composer.json is:
"psr-4": {
"myTest\\": "app/"
}
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1mGhhOp
via IFTTT
Aucun commentaire:
Enregistrer un commentaire