4.1 Password Reset

Published 3 years ago by rmlewisuk

Hi Everyone,

I've setup password reminders and resets as per the 4.1 docs. However when I try to reset a password, I always get this error:

We can't find a user with that e-mail address.

The email column in my users table is called email and the reset form is identical to the one on the 4.1 docs. Anyone else had this issue or know how to fix it?

Best Answer (As Selected By rmlewisuk)
bashy

Have you tried returning the value of the email/query you're doing? Maybe it's not picking it up via HTML/POST request

$queries = DB::getQueryLog();
return end($queries);

// If that doesn't return what you expect, go back and find where it's breaking
return Input::get('email');

I would suggest installing https://github.com/barryvdh/laravel-debugbar for developing

bashy
bashy
3 years ago (1,001,110 XP)

Have you tried returning the value of the email/query you're doing? Maybe it's not picking it up via HTML/POST request

$queries = DB::getQueryLog();
return end($queries);

// If that doesn't return what you expect, go back and find where it's breaking
return Input::get('email');

I would suggest installing https://github.com/barryvdh/laravel-debugbar for developing

rmlewisuk

Perfect, thank you. It was a spelling error on email. Amateur hour.

bashy
bashy
3 years ago (1,001,110 XP)

Haha, all been there!

Please sign in or create an account to participate in this conversation.