Support the ongoing development of Laravel.io →
Configuration Authentication Database
Last updated 1 year ago.
0

Try something like

$user = User::whereUsername(Input::get('username'));

// Check if it exists ...

Password::remind($user->email) ...
array('email' => Input::get('username')

email is not the same as username so that won't work because it can't send an email to JohnDoe. It needs [email protected]

Last updated 1 year ago.
0

Can I ask if you resolved this, and if so how...

i have recently started seeing thins on a build that was updated, which worked before, the only change so far being the composer update which has bumped the swiftmailer version to 5.3.0

Pretty much nothing has been changed from the out-of-the-box password remind chain, with the function being run as follows....

incidentally, I have absolutely double ensured that the email is indeed correct, so I know 100% that is not the issue.

    protected function getPasswordRemindResponse()
    {
        $email = Input::only("email");

        return Password::remind($email, function($message)
        {
            $message->subject('Password Reminder');
        });
    }

Any help appreciated :)

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

mxalix258 mxalix258 Joined 20 Apr 2014

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.

© 2024 Laravel.io - All rights reserved.