Sunday, April 1, 2018

Login With Laratrust Fails - development

Login With Laratrust Fails

When I try to log into my Laravel App using LaraTrust, the login fails with an error, that the credentials would not be found in the database.

enter image description here

for testing, I created a test user called superadministrator@app.com. Since I changed the User class in my auth.php, it might not work again. But the class is set correctly:

'providers' => [
    'users' => [
        'driver' => 'eloquent',
        'model' => AppClassesUserUser::class,
    ],

    // 'users' => [
    //     'driver' => 'database',
    //     'table' => 'users',
    // ],
]

How can I verify, what is being tried to be authenticated?



from Laravel Questions and Answers https://laravelquestions.com/php/login-with-laratrust-fails/
via Lzo Media

No comments:

Post a Comment