diff --git a/lam/templates/config/conflogin.php b/lam/templates/config/conflogin.php index 35160058..b66e0f22 100644 --- a/lam/templates/config/conflogin.php +++ b/lam/templates/config/conflogin.php @@ -51,6 +51,10 @@ echo (" +" . $message . ""); +?> diff --git a/lam/templates/config/confmain.php b/lam/templates/config/confmain.php index 43b2cac5..2840dc8c 100644 --- a/lam/templates/config/confmain.php +++ b/lam/templates/config/confmain.php @@ -81,6 +81,7 @@ if ($_POST['passwd']) $passwd = $_POST['passwd']; // check if password was entered // if not: load login page if (! $passwd) { + $message = _("No password was entered!"); require('conflogin.php'); exit; } @@ -90,6 +91,7 @@ if (! $passwd) { include_once ('../../lib/config.inc'); $conf = new Config(); if (!(($conf->get_Passwd()) == $passwd)) { + $message = _("The password is invalid! Please try again."); require('conflogin.php'); exit; }