Skip to content

Commit

Permalink
forgot password added to customer
Browse files Browse the repository at this point in the history
  • Loading branch information
digicatech authored Dec 20, 2020
1 parent fd73766 commit 3547013
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/APIs/Customers.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,23 @@ public function detailsById($customerId)



/**
* Generates a forgot password email and sends it to the customer's email address.
*
* @param string $username
* @param string $password
*
* @return array|Exception
* @throws Exception
* @link https://resellerclub.webpropanel.com/kb/customer-forgot-password-api
*/
public function forgotPassword($username)
{
return $this->get('forgot-password', ['username' => $username]);
}



/**
* Authenticates the Customer and returns the Customer details, if authenticated.
*
Expand Down

0 comments on commit 3547013

Please sign in to comment.