Skip to content

Commit

Permalink
added resetPassword to ApiMethods
Browse files Browse the repository at this point in the history
  • Loading branch information
ljbergmann committed Feb 16, 2017
1 parent db821b7 commit cae4e00
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Api/Traits/UserTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@ public function changeUserProperties($password, $username, $email)
return $this->getUserAccountController()->changeUserProperties($password, $username, $email);
}

/**
* @param $emailAddress
* @return \Alphatrader\ApiBundle\Model\Error|\Alphatrader\ApiBundle\Model\MessagePrototype
*/
public function resetPassword($emailAddress)
{
return $this->getUserAccountController()->resetPassword($emailAddress);
}

/**
* @return UserAccountController
*/
Expand Down

0 comments on commit cae4e00

Please sign in to comment.