Fixed the change password always changes admins password bug.
Also some more work on the EMS.
This commit is contained in:
parent
c5579c81ca
commit
7dc954ebca
3 changed files with 12 additions and 8 deletions
|
|
@ -333,8 +333,9 @@ sub editUserForm {
|
|||
|
||||
sub editUserFormSave {
|
||||
my $self = shift;
|
||||
my $userId = $self->session->form->get("uid");
|
||||
my $properties;
|
||||
my $userData = $self->getParams;
|
||||
my $userData = $self->getParams($userId);
|
||||
unless (!$self->session->form->process('authWebGUI.identifier') || $self->session->form->process('authWebGUI.identifier') eq "password") {
|
||||
$properties->{identifier} = Digest::MD5::md5_base64($self->session->form->process('authWebGUI.identifier'));
|
||||
if($userData->{identifier} ne $properties->{identifier}){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue