1
0
mirror of https://github.com/e107inc/e107.git synced 2025-06-07 19:35:47 +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:
MikeyGMT 2018-06-19 18:16:36 +01:00
parent 2f7b080bd7
commit 79c14d66f6
2 changed files with 3 additions and 2 deletions

View File

@ -194,7 +194,7 @@ class userlogin
case USER_VALIDATED : // Valid user
break; // Nothing to do ATM
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 = str_replace(array('[',']'),array("<a href='".e_HTTP."usersettings.php'>","</a>"), $bounceMessage);

View File

@ -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_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_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
?>