From 33fd3fa62717f07004f7533679d95f5084caf728 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 16 Aug 2006 11:09:35 +0000 Subject: [PATCH] Wenn noch gar kein Passwort fuer den Admin gesetzt ist, dann Login zulassen. --- bin/mozilla/admin.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index 2632aff07..f10026729 100644 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -1151,7 +1151,7 @@ sub change_password { sub check_password { $root = new User "$memberfile", $form->{root}; - if (!$root->{password} || ($root->{password} ne $form->{rpw})) { + if (!defined($root->{password}) || ($root->{password} ne $form->{rpw})) { $form->error($locale->text('Incorrect Password!')); } -- 2.20.1