mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 21:21:54 +02:00
Merge pull request #3197 from MikeyGMT/20180428
Issue #6 ToDo Lans bounceLAN in handlers/login.
This commit is contained in:
commit
0a3acb2f6d
@ -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);
|
||||
|
||||
|
@ -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
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user