change-current-password
v0.0.8
Published
change-password is a NPM Angular module. This module is written to get username, password and matching password from the user and apply required validations to them. By clicking the button it will send the data by post request to the given url.
Downloads
15
Maintainers
Readme
jpa-search
change-password is a NPM Angular module. This module is written to get username, password and matching password from the user and apply required validations to them. By clicking the button it will send the data by post request to the given url.
Installation
npm install change-password
Usage
.
import ChangePasswordModule
<lib-change-password [api]="{change_password_path_service}" (response)=saveResponse($event) (resetClicked)=buttonClicked() [HTTPOptions]={service_required options}></lib-change-password>
for example: api = https://pay.sample.name/ums/api/account/change-password
resetClicked is triggered when change password button was clicked.
The component will return the result of service as object
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.