Revision 33fd3fa6
Von Moritz Bunkus vor mehr als 18 Jahren hinzugefügt
bin/mozilla/admin.pl | ||
---|---|---|
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!'));
|
||
}
|
||
|
Auch abrufbar als: Unified diff
Wenn noch gar kein Passwort fuer den Admin gesetzt ist, dann Login zulassen.