This functions does not need a token as parameter
This function makes a request to send password reset links to all accounts matching the email address
Arguments
| email |
email, required |
| is_client |
boolean |
| company_id |
integer |
This functions does not need a token as parameter
This function makes a request to send password reset link to account matching the login
Arguments
| login |
string, required |
| is_client |
boolean |
| company_id |
integer |
This functions does not need a token as parameter
@param rt required (request token that was generated and sent by email to the user, should have length of 40 characters)
passwords should have a minimum length of 8 characters
Arguments
| rt |
string, required |
| passwd1 |
required, min: 8 |
| passwd2 |
required, min: 8, same:passwd1 |
Check if an email is available.
required: email
returns {available:0} if the email is already used
returns {available:1} if the email is not used.
Arguments
| email |
email, required |
| company_id |
integer |
| is_client |
boolean |