Skip to content

Commit

Permalink
Merge pull request #5 from ducvu91/master
Browse files Browse the repository at this point in the history
change username to email reset tenant user
  • Loading branch information
phuocdaivl authored Sep 23, 2019
2 parents 9b1505b + f9794ba commit 2d33b68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TenantUserManagement/TenantUserManagement.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function resetPassword($username, $password)
{
$url = $this->buildUrl('/portal/api/v1/users/resetpassword');
$data = [
'username' => $username,
'email' => $username,
'newpassword' => $password,
'confirmpassword' => $password
];
Expand All @@ -90,7 +90,7 @@ public function changePassword($username, $oldPassword, $newPassword)
{
$url = $this->buildUrl('/portal/api/v1/users/changepassword');
$data = [
'username' => $username,
'email' => $username,
'currentpassword' => $oldPassword,
'newpassword' => $newPassword,
'confirmpassword' => $newPassword
Expand Down

0 comments on commit 2d33b68

Please sign in to comment.