Support the ongoing development of Laravel.io →
Authentication Database

I'm having two problems resetting my password in Laravel 5:

  1. I usually get an error saying the user can't be found. This is false because I'm copying my email address from the users table in the database.

  2. I sometimes get this error:

QueryException in Connection.php line 624: SQLSTATE[42000]: Syntax error or access violation: 1103 Incorrect table name '' (SQL: delete from `` where email = username@example.com)

I'm using the default Laravel 5 authentication and password reset code.

Last updated 2 years ago.
0

Exactly what does your code look like?

0

Your config/auth.php needs to have values in its 'password' item. For example:

'password' => [
      'email' => 'emails.password',
      'table' => 'password_resets',
      'expire' => 60,
],
Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

kirkaracha kirkaracha Joined 11 May 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.