diff --git a/Mohem/src/app/authentication/login/login.component.ts b/Mohem/src/app/authentication/login/login.component.ts
index 08179d5e..751360df 100644
--- a/Mohem/src/app/authentication/login/login.component.ts
+++ b/Mohem/src/app/authentication/login/login.component.ts
@@ -23,6 +23,7 @@ import { PushService } from 'src/app/hmg-common/services/push/push.service';
styleUrls: ['./login.component.scss']
})
export class LoginComponent implements OnInit, OnDestroy {
+ deviceToken1: any;
constructor(
public cs: CommonService,
@@ -127,6 +128,10 @@ export class LoginComponent implements OnInit, OnDestroy {
});
this.deviceToken = localStorage.getItem('devicyeToken');
+ this.deviceToken1 =this.cs.getDeviceToken();
+ console.log('lngOnInit localStorage: ' + this.deviceToken1);
+ console.log('lngOnInit getDeviceToken: ' + this.deviceToken);
+
if (this.deviceToken) {
console.log('login enabled first time: ' + this.deviceToken);
} else {
diff --git a/Mohem/src/app/authentication/sms-page/sms-page.page.html b/Mohem/src/app/authentication/sms-page/sms-page.page.html
index 654adc99..9208b5fd 100644
--- a/Mohem/src/app/authentication/sms-page/sms-page.page.html
+++ b/Mohem/src/app/authentication/sms-page/sms-page.page.html
@@ -18,7 +18,15 @@
{{'verificationcode,verificationcode' | translate}} {{'verificationcode,title' | translate}}{{'verificationcode,verificationcode' | translate}} {{'verificationcode,by' | translate}}{{'verificationcode,sms' | translate}}{{'verificationcode,instruct' | translate}}{{'general,submit' | translate}} {{'verificationcode,title' | translate}}
+ {{'verificationcode,verificationcode' | translate}}
+ {{'verificationcode,by' | translate}}
+ {{'verificationcode,sms' | translate}}
+ whatsapp
+
+ {{'verificationcode,instruct' | translate}}
+ {{'general,submit' | translate}}
-
{{ 'general, empty' | translate}}
+