Hi,
I noticed recently when doing a password reset as client, the email link sent to email seems to be pointing to scp, thus showing the admin login page using %{link} variable. Upon searching to solution for the issue, I stumbled upon the file class.user.php in line 913 showing this code.
'link' => sprintf("%s/pwreset.php?token=%s",$ost->getConfig()->getBaseUrl(),$token),
I echoed $ost->getConfig()->getBaseUrl() showing the agent login link http:\\domain.com\scp\. Seems the issues is fixed by changing to:
'link' => sprintf("%s/pwreset.php?token=%s", $_SERVER,$token),
I'm not sure if there are better alternatives to this fix. used several versions (v.1.7.5, v1.8.0, v1.9.5) but encountered the same issues.