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
|
|
@ -624,7 +624,9 @@ sub new {
|
|||
$self->{_session} = shift;
|
||||
$self->{authMethod} = shift;
|
||||
my $userId = shift || $self->{_session}->user->userId;
|
||||
$self->{user} = $self->{_session}->user;
|
||||
# Can't do this... if you're updating the account of a user that's not you, this will not work
|
||||
#$self->{user} = $self->{_session}->user;
|
||||
$self->{user} = WebGUI::User->new($self->{_session}, $userId);
|
||||
$self->{error} = "";
|
||||
$self->{profile} = ();
|
||||
$self->{warning} = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue