Skip to content

Commit

Permalink
Unset passwords
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Narloch committed Jul 21, 2016
1 parent 56194ce commit 8cf4352
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/com_users/controllers/profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ public function save()
}
}

// Unset the passwords.
unset($requestData['password1']);
unset($requestData['password2']);

// Save the data in the session.
$app->setUserState('com_users.edit.profile.data', $requestData);

Expand Down

0 comments on commit 8cf4352

Please sign in to comment.