![]() |
How To Redirect login.php?do=lostpw
Hello All,
I want to redirect login.php?do=lostpw to some other url. Can someone please guide me. Thanks |
I have same question
|
use the login_redirect hook
|
The login_redirect hook would not work. It is only called by do_login_redirect when login.php?do=login is called.
I have simply replaced the template "lostpw" template and put a link to my external password reset page. If you want to disable the password reset, you can also use the reset_password hook to display an error message whenever it is called... |
I still do not see any way to redirect a user to a custom 'pwd recovery' page.
"login.php?do=lostpw" is hardcoded all over the phrases, so it means all of them have to be modified. And "reset_password" hook gets executed AFTER the password is generated and saved. There should be some hook where "do=lostpw" is processed. |
Intercept it via the global_setup_complete hook
|
Quote:
I used init_startup, since it is already in use. |
All times are GMT. The time now is 01:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|