Skip to content

Commit

Permalink
Step 5.18: Add navigation to verification page from the login component
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Dec 24, 2016
1 parent ab3ff96 commit ced849f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pages/auth/login.ts
@@ -1,5 +1,6 @@
import { Component } from '@angular/core';
import { NavController, AlertController } from 'ionic-angular';
import { VerificationComponent } from "../verification/verification";

@Component({
selector: 'login',
Expand Down Expand Up @@ -46,9 +47,9 @@ export class LoginComponent {
alert.dismiss().then(() => {
if (e) return this.handleError(e);

// this.navCtrl.push(VerificationComponent, {
// phone: this.phone
// });
this.navCtrl.push(VerificationComponent, {
phone: this.phone
});
});
});
}
Expand Down

0 comments on commit ced849f

Please sign in to comment.