Adminerrormessage auch anzeigen
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 28 Nov 2012 10:34:33 +0000 (11:34 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 28 Nov 2012 10:34:33 +0000 (11:34 +0100)
bin/mozilla/admin.pl

index 3d32a39..9534d95 100755 (executable)
@@ -98,7 +98,7 @@ sub run {
   if ($form->{action}) {
     if ($auth->authenticate_root($form->{'{AUTH}admin_password'}) != $auth->OK()) {
       $auth->punish_wrong_login;
-      $form->{error_message} = $locale->text('Incorrect Password!');
+      $form->{error} = $locale->text('Incorrect Password!');
       $auth->delete_session_value('admin_password');
       adminlogin();
     } else {