Display More
Reporter Alex Neuman (axl) Created Jan 17, 2017 11:27:19 AM Updated Jan 17, 2017 11:27:19 AM Priority Normal Type Bug State Submitted Assignee Laurent Declercq (nuxwin) Subsystem No subsystem Affected versions 1.3.15 Milestone 1.3.17 Severity No severity The link for password reset is set via template tag {LINK}, which translates to "{BASE_SERVER_VHOST_PREFIX}{BASE_SERVER_VHOST}{BASE_SERVER_VHOST_PORT}/lostpassword.php?key=$uniqueKey".
If using PanelRedirect in proxy mode, the panel operates at default ports (:443 or :80), but the link still points to VHOST:8080, which might be blocked.
There is no hook to adjust the password reset LINK variable, so plugin maintainer can't fix this issue.
Proposed fix:
Add a {LINK_PATH} variable (in addition to the existing LINK variable) that can be used in password reset template. Set the LINK_PATH to "/lostpassword.php?key=$uniqueKey" in gui/library/Functions/LostPassword.php.
If the proposed fix is implemented, then the users of PanelRedirect can just set the password reset template link to "{BASE_SERVER_VHOST_PREFIX}{BASE_SERVER_VHOST}{LINK_PATH}"