Support the ongoing development of Laravel.io →
Requests Input Database
Last updated 2 years ago.
0

I had a similar problem. My MASTERFUL BOSS (he's looking over my shoulder now) managed to spot the issue...

The method User::getReminderEmail() wasn't set (or rather - was empty). Thus this returns false, which in turns means that validation tries to put null into the DB.

/**
 * Get the e-mail address where password reminders are sent.
 *
 * @return string
 */
public function getReminderEmail()
{
    return $this->email;
}
Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Joe96 joe96 Joined 28 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.