reset password by sending text using ionic and angularjs -


i have existing api , end system, doing front end part (using ionic , angular create mobile app) , want achieve function reset password sending message on phone customer.

i have done reset password html page allow user input his/her mobile number, , send api id of customer, don't know how send link associated changing password customer's phone.

<ion-view title="resetpassword"> <ion-header-bar>     <h1 class="title">reset password</h1> </ion-header-bar> <ion-content>     <form name="resetpwddata" novalidate>         <p>             please enter mobile number associated account !         </p>         <label class="item item-input">       <span class="input-label">mobile number</span>       <input type="text" ng-model="resetpwddata.mobile" required>     </label>      </form> </ion-content> 

this must api side.

you should call service http://your-api/resetpassword/phonenumber app , api should send text message reset link (or new password) directly phone.

you have multiple services that. can check twilio example.

but can't directly app.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -