From 682454ce7c16b199ce028caa069b0fc9aaa6b70b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 28 Feb 2012 14:14:36 +0100 Subject: [PATCH] =?utf8?q?Admin:=20change=20passwort:=20Aufl=C3=B6sung=20n?= =?utf8?q?ach=20login=20funktioniert=20nicht=20mehr=20aus=20form.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/admin.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/admin.pl b/bin/mozilla/admin.pl index 3254b9b85..ff4641adb 100755 --- a/bin/mozilla/admin.pl +++ b/bin/mozilla/admin.pl @@ -542,7 +542,7 @@ sub save_user { # Add new user to his groups. if (ref $form->{new_user_group_ids} eq 'ARRAY') { my $all_groups = $main::auth->read_groups(); - my %user = $main::auth->read_user(login => $user->{login}); + my %user = $main::auth->read_user(login => $myconfig->{login}); foreach my $group_id (@{ $form->{new_user_group_ids} }) { my $group = $all_groups->{$group_id}; @@ -564,7 +564,7 @@ sub save_user { $form->error($::locale->text('The settings were saved, but the password was not changed.') . ' ' . join(' ', $verifier->errors($result))); } - $main::auth->change_password($user->{login}, $::form->{new_password}); + $main::auth->change_password($myconfig->{login}, $::form->{new_password}); } $::form->redirect($::locale->text('User saved!')); -- 2.20.1