Revision 682454ce
Von Sven Schöling vor mehr als 12 Jahren hinzugefügt
bin/mozilla/admin.pl | ||
---|---|---|
542 | 542 |
# Add new user to his groups. |
543 | 543 |
if (ref $form->{new_user_group_ids} eq 'ARRAY') { |
544 | 544 |
my $all_groups = $main::auth->read_groups(); |
545 |
my %user = $main::auth->read_user(login => $user->{login});
|
|
545 |
my %user = $main::auth->read_user(login => $myconfig->{login});
|
|
546 | 546 |
|
547 | 547 |
foreach my $group_id (@{ $form->{new_user_group_ids} }) { |
548 | 548 |
my $group = $all_groups->{$group_id}; |
... | ... | |
564 | 564 |
$form->error($::locale->text('The settings were saved, but the password was not changed.') . ' ' . join(' ', $verifier->errors($result))); |
565 | 565 |
} |
566 | 566 |
|
567 |
$main::auth->change_password($user->{login}, $::form->{new_password});
|
|
567 |
$main::auth->change_password($myconfig->{login}, $::form->{new_password});
|
|
568 | 568 |
} |
569 | 569 |
|
570 | 570 |
$::form->redirect($::locale->text('User saved!')); |
Auch abrufbar als: Unified diff
Admin: change passwort: Auflösung nach login funktioniert nicht mehr aus form.