1
0
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:
SteveD
2013-02-18 22:31:57 +00:00
parent 3e85dcedda
commit 10ce319b5a

View File

@@ -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);