From 7b56208bdc0ffe572721929e77bb44787d85b983 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Mon, 23 Mar 2009 14:32:49 -0400
Subject: [PATCH] Better login error message.

---
 interface/web/login/index.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/web/login/index.php b/interface/web/login/index.php
index 782aaed..36a3c3a 100644
--- a/interface/web/login/index.php
+++ b/interface/web/login/index.php
@@ -151,7 +151,7 @@
 	        	}
 	      	} else {
 	       		//* Username or password empty
-	            $error = $app->lng(1001);
+	            if($error == '') $error = $app->lng(1001);
 	        }
 		}
 		if($error != ''){

--
Gitblit v1.9.1