We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4522871 commit 3b4efacCopy full SHA for 3b4efac
src/pages/login/login.ts
@@ -1,6 +1,7 @@
1
import { Component } from '@angular/core';
2
import { Alert, AlertController, NavController } from 'ionic-angular';
3
import { PhoneService } from '../../services/phone';
4
+import { VerificationPage } from '../verification/verification';
5
6
@Component({
7
selector: 'login',
@@ -47,6 +48,11 @@ export class LoginPage {
47
48
alert.dismiss().then(() => {
49
return this.phoneService.verify(this.phone);
50
})
51
+ .then(() => {
52
+ this.navCtrl.push(VerificationPage, {
53
+ phone: this.phone
54
+ });
55
+ })
56
.catch((e) => {
57
this.handleError(e);
58
});
0 commit comments