Hi, Have little problem. It is about password reset. Everything works fine until the point when I submit new password. Link to the reset form is sent to email, url to the reset form works, token in the hidden field is present, when I submit email, old and new password I get Undefined index: token. I just don't see why. Have you ever came across this?
The error is because of your activation url and the password update post url. Assume that your activation URL is something.com/updatePass/token and you will be making post to the something.com/updatePass.
Your post url might be missing the token value in its url, therefore you are getting the undefined token error when submitting the form.
No I don't. Token is showing in url. The problem is when I submit the form for changing the password. When password:reset method is supposed to execute I get an exception. Here is a pastebin with two methods.
From the attached code, your postReset function doesn't have token being passed to Password::reset. Here is a working sample of the code http://laravel.io/bin/e86
:/ ... it's the small things, right? :D ... This was awesome. Cheers
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community