Verified Commit 3065a087 authored by Kevin Cristiano's avatar Kevin Cristiano 🌎 Committed by Kevin Cristiano

Patch for TML and ArtsW login and lost password

Signed-off-by: Kevin Cristiano's avatarKevin Cristiano <kcristiano@tadpole.cc>
Signed-off-by: Kevin Cristiano's avatarKevin Cristiano <kcristiano@kcristiano.com>
parent 09c6eba4
......@@ -711,7 +711,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
}
elseif (email_exists($params['mail'])) {
$errors[$emailName] = ts('The email address %1 already has an account associated with it. <a href="%2">Have you forgotten your password?</a>',
[1 => $params['mail'], 2 => wp_lostpassword_url()]
[1 => $params['mail'], 2 => 'lost-passwords']
);
}
}
......@@ -798,7 +798,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
*/
public function getLoginURL($destination = '') {
$config = CRM_Core_Config::singleton();
$loginURL = wp_login_url();
$loginURL = 'login';
return $loginURL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment