samedi 26 décembre 2015

Laravel namespacing and authentication

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?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire