get to final page of reset
This commit is contained in:
@@ -76,9 +76,9 @@ export class ForgotPage implements OnInit {
|
||||
|
||||
|
||||
}
|
||||
onPassword() {
|
||||
this.router.navigate(['new-password']);
|
||||
}
|
||||
// onPassword() {
|
||||
// this.router.navigate(['new-password']);
|
||||
// }
|
||||
|
||||
verifyData: {
|
||||
'action':730,
|
||||
@@ -133,20 +133,20 @@ export class ForgotPage implements OnInit {
|
||||
'server_name' => string 'https://dev-users.wrenchboard.com' (length=33)
|
||||
'internal_return' => int 0
|
||||
*/
|
||||
// if (resetResult != null
|
||||
// && resetResult.internal_return == 0 &&
|
||||
// resetResult.password_reset_id > 0 &&
|
||||
// resetResult.reset_uid !='' &&
|
||||
// resetResult.m_uid != '' ) {
|
||||
if (resetResult != null
|
||||
&& resetResult.internal_return == 0 &&
|
||||
resetResult.lostpass_id > 0 &&
|
||||
resetResult.reset_uid !='' &&
|
||||
resetResult.m_uid != '' ) {
|
||||
// this.reset_uid = resetResult.reset_uid;
|
||||
// this.m_uid = resetResult.m_uid;
|
||||
// this.password_reset_id = resetResult.password_reset_id;
|
||||
// this.tab =3;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// alert("SOME WENT WROMNG");
|
||||
// }
|
||||
this.router.navigate(['new-password']);
|
||||
}
|
||||
else
|
||||
{
|
||||
alert("SOME WENT WROMNG");
|
||||
}
|
||||
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user