Customizing SMF > SMF Coding Discussion

Redirect from password reset

(1/3) > >>

blockus:
I'm using smf 2.0.1 with a variation of curve.  I'm looking to make a little tweak to where people are redirected after they submit a new password (after they've clicked the link in the forgot password email, put in their new password twice, and hit save).  I'm pretty sure that all I have to do is stick a redirectexit(address) in at the right point in the code.  Which file controls the password reset, and where exactly in the file do I have to stick the redirect command?

Thanks, as always, for your help!

-CB 

Labradoodle-360:
Hey there!

You'll want to look at Subs-Members.php most likely, in ./Sources.

I can't look into it myself right now, but I'd assume that's where the reset Source function is.

blockus:
I looked in there and didn't see anything about re-setting a password.  I'm not a great coder, though; I just kind of use the notes as a guide.  Anybody know where in particular in that document (or in another one if that's not right) I should look for this?

Thanks!

-CB

Labradoodle-360:
Have you looked in the SMF Function Database yet?

Labradoodle-360:
./Sources/Profile-Modify.php.

Navigation

[0] Message Index

[#] Next page

Go to full version