On our reset password page, after typing in an email and clicking to reset the password, VB throws an error saying "Invalid Redirect URL". The URL it gives is not exactly correct. It uses HTTP instead of HTTPS for one thing. It goes to "/login.php?do=login".
I want to correct this URL but can't find it.
In my Site Name settings, the Forum URL is correct, so it's not using that I think.
When I do a search in templates, I find the "lostpw" template. In the HTML form it has this line:
I'm guessing this is where VB is getting the redirect URL from, the {vb:raw url} variable? So this is my problem, I can't find where this "url" variable is defined. I've searched settings, phrases, templates, custom code, etc. I don't know why the URL output here is being rejected as an invalid redirect URL.
Note that even with the error message, the reset password emails are being sent, and the reset works. It's just that it won't do the redirect.
Also note that the template lostpw has not be changed, so this is the default code I guess.
Where else can I look to change this URL and fix it? Or find that "url" variable?
Thanks
I want to correct this URL but can't find it.
In my Site Name settings, the Forum URL is correct, so it's not using that I think.
When I do a search in templates, I find the "lostpw" template. In the HTML form it has this line:
HTML Code:
<input type="hidden" name="url" value="{vb:raw url}" />
Note that even with the error message, the reset password emails are being sent, and the reset works. It's just that it won't do the redirect.
Also note that the template lostpw has not be changed, so this is the default code I guess.
Where else can I look to change this URL and fix it? Or find that "url" variable?
Thanks
Comment