diff --git a/src/pages/login/login.ts b/src/pages/login/login.ts index 586b8c8..7a7fb83 100644 --- a/src/pages/login/login.ts +++ b/src/pages/login/login.ts @@ -29,7 +29,7 @@ export class LoginPage { private async submitLogin(form){ try { - this.token = await this.loginProvider.login(form.values.email,form.values.password) + this.token = await this.loginProvider.login(form.value.email,form.value.password) this.boxes = await this.loginProvider.getUserBoxes(this.token); } catch(err){