-
Notifications
You must be signed in to change notification settings - Fork 287
Unable to reset password following a forgotten password request #581
New issue
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
Comments
@gazzastone this is a good one. I'm literally clueless. It looks like you have managed to create a user without a |
Note to self: Adding 'Jenssegers\Mongodb\Auth\PasswordResetServiceProvider' to app.php didn't help. |
I can't reproduce the issue, but when I try to fix it everything breaks. |
ok I will delete this user then recreate it and then do a password reset to see if the issue has gone |
Ok sounds good. |
so deleted user. registered user ok. requested password reset get the same error |
No way! That's crazy, I'll see what I can find out. We're all pretty busy over here today, so it may have to wait a little while. |
ok no probs |
Same issue here,
|
Using the instructions from #163 fixes the issue for me. |
Ohhhhhh I'm a complete idiot! My apologies guys! I was well aware of this, but incorrectly assumed you were using the local configs. @sanduhrs I think what needs to be documented is that you should always use the local config or duplicate the local config and use your own. Using your own just requires you to change the "bootstrap/start.php" file a little. |
This explains why I couldn't reproduce this issue. We can't add that service provider in a commit because it screws up our continuous integration. However, we could potentially change "bootstrap/start.php" so that it contains... $env = Helpers::getEnvironment([
'local' => [gethostname()]
], gethostname()); This would ensure that you always used the local config unless you changed this file, which seems ideal to me. |
sounds like a plan to me |
This issue has now been fixed and the fix has been merged into the develop branch. This should be released with version 1.3.10. Thanks @gazzastone and @sanduhrs for all of your help here. |
Version
1.3.9
Steps To reproduce
Click on forgotten password email link and complete Reset Password dialog.
Expected Result
Expect password to be changed.
Actual result
ErrorException thrown with message "strtotime() expects parameter 1 to be string, array given".
Stacktrace:
The text was updated successfully, but these errors were encountered: