mirror of
https://github.com/e107inc/e107.git
synced 2025-07-28 18:30:53 +02:00
Issue #105 - hide LOGINMESSAGE in login.php if no error to report
This commit is contained in:
@@ -38,7 +38,8 @@ if ($use_imagecode)
|
||||
|
||||
if (!USER)
|
||||
{
|
||||
require_once(e_HANDLER."form_handler.php");
|
||||
if (!defined('LOGINMESSAGE')) define('LOGINMESSAGE', ''); // LOGINMESSAGE only appears with errors
|
||||
require_once(e_HANDLER.'form_handler.php');
|
||||
$rs = new form;
|
||||
$text = "";
|
||||
$allowEmailLogin = varset($pref['allowEmailLogin'],0);
|
||||
|
Reference in New Issue
Block a user