We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try to change my password following the password reset link I get the following error:
ErrorException strtotime() expects parameter 1 to be string, array given
/Applications/MAMP/htdocs/learning/vendor/laravel/framework/src/Illuminate/Auth/Reminders/DatabaseReminderRepository.php * Determine if the reminder has expired. * * @param array $reminder * @return bool */ protected function reminderExpired($reminder) { $createdPlusHour = strtotime($reminder['created_at']) + $this->expires;
return $createdPlusHour < $this->getCurrentTime();
document in the password_reminders collection:
{ _id: ObjectId("534f9b468e798f997fb7acd9"), email: "[email protected]", token: "c41c7392be9b1f96cabb7421098eedb8ef82f2f6", created_at: { date: "2014-04-17 09:13:42", timezone_type: 3, timezone: "UTC" } }
If I edit like this: created_at: "2014-04-17 09:13:42" it works.
Best Regards, Umut Nacak
The text was updated successfully, but these errors were encountered:
Adding the following service provider to app/config/app.php will sort this issue. 'Jenssegers\Mongodb\Auth\ReminderServiceProvider' - https://github.com/LearningLocker/LearningLocker/wiki/Installing
Sorry, something went wrong.
sorry my bad.
Fixes LearningLocker#581 and LearningLocker#163
85a2898
No branches or pull requests
When I try to change my password following the password reset link I get the following error:
ErrorException
strtotime() expects parameter 1 to be string, array given
/Applications/MAMP/htdocs/learning/vendor/laravel/framework/src/Illuminate/Auth/Reminders/DatabaseReminderRepository.php
* Determine if the reminder has expired.
*
* @param array $reminder
* @return bool
*/
protected function reminderExpired($reminder)
{
$createdPlusHour = strtotime($reminder['created_at']) + $this->expires;
document in the password_reminders collection:
{
_id: ObjectId("534f9b468e798f997fb7acd9"),
email: "[email protected]",
token: "c41c7392be9b1f96cabb7421098eedb8ef82f2f6",
created_at: {
date: "2014-04-17 09:13:42",
timezone_type: 3,
timezone: "UTC"
}
}
If I edit like this:
created_at: "2014-04-17 09:13:42"
it works.
Best Regards,
Umut Nacak
The text was updated successfully, but these errors were encountered: