Support the ongoing development of Laravel.io →
Authentication Security Validation
Last updated 2 weeks ago.
0

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.

Last updated 2 weeks ago.
0

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.

Last updated 2 weeks ago.
0

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

Last updated 2 weeks ago.
0

:/ ... it's the small things, right? :D ... This was awesome. Cheers

Last updated 2 weeks ago.
0

Sign in to participate in this thread!

Cloudways

Your banner here too?

milosgajic milosgajic milosgajic Joined 10 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.