From 1c354001b0ccf9987047df686290a7dc660eac00 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 29 Dec 2010 13:00:15 +0100 Subject: [PATCH] =?utf8?q?Admin-Passwort=20nur=20=C3=BCberpr=C3=BCfen,=20w?= =?utf8?q?enn=20tats=C3=A4chlich=20eine=20Action=20vorhanden=20ist?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Ansonsten schlägt die 5s-Strafe auch schon zu, wenn man die Admin-Login-Maske aufruft. --- bin/mozilla/admin.pl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index 3a5e810c2..c5c97cd89 100755 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -86,11 +86,6 @@ sub run { } call_sub($locale->findsub($form->{action})); } - } elsif ($auth->authenticate_root($form->{rpw}, 0) == $auth->OK()) { - - $auth->create_or_refresh_session() if ($auth->session_tables_present()); - - login(); } else { # if there are no drivers bail out $form->error($locale->text('No Database Drivers available!')) -- 2.20.1