mirror of
https://github.com/e107inc/e107.git
synced 2025-06-08 11:57:29 +02:00
#6 ToDo Lans bounceLAN in handlers/login.
ToDo Lans bounceLAN in handlers/login. Tested login from login.php, from the login link in voux theme without issue. No bounced emails on test instance.
This commit is contained in:
parent
2f7b080bd7
commit
79c14d66f6
@ -194,7 +194,7 @@ class userlogin
|
|||||||
case USER_VALIDATED : // Valid user
|
case USER_VALIDATED : // Valid user
|
||||||
break; // Nothing to do ATM
|
break; // Nothing to do ATM
|
||||||
case USER_EMAIL_BOUNCED:
|
case USER_EMAIL_BOUNCED:
|
||||||
$bounceLAN = "Emails to [x] are bouncing back. Please [verify your email address is correct]."; //TODO LAN
|
$bounceLAN = LAN_LOGIN_36;
|
||||||
$bounceMessage = $tp->lanVars($bounceLAN, $this->userData['user_email'],true );
|
$bounceMessage = $tp->lanVars($bounceLAN, $this->userData['user_email'],true );
|
||||||
$bounceMessage = str_replace(array('[',']'),array("<a href='".e_HTTP."usersettings.php'>","</a>"), $bounceMessage);
|
$bounceMessage = str_replace(array('[',']'),array("<a href='".e_HTTP."usersettings.php'>","</a>"), $bounceMessage);
|
||||||
|
|
||||||
|
@ -44,4 +44,5 @@ define("LAN_LOGIN_32", "You are seeing this message because you are currently lo
|
|||||||
define("LAN_LOGIN_33", "[Return to the homepage]"); // the [ ] brackets are replaced with a button link
|
define("LAN_LOGIN_33", "[Return to the homepage]"); // the [ ] brackets are replaced with a button link
|
||||||
define("LAN_LOGIN_34", "User registration and/or login is currently disabled.");
|
define("LAN_LOGIN_34", "User registration and/or login is currently disabled.");
|
||||||
define("LAN_LOGIN_35", "[Enable it]"); // the [ ] brackets are replaced with a button link
|
define("LAN_LOGIN_35", "[Enable it]"); // the [ ] brackets are replaced with a button link
|
||||||
|
define("LAN_LOGIN_36", "Emails to [x] are bouncing back. Please [verify your email address is correct].");// the [ ] brackets are replaced with a button link to usersettings.php
|
||||||
?>
|
?>
|
Loading…
x
Reference in New Issue
Block a user