diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts index 591ddd9b..a816bef3 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -38,7 +38,7 @@ import * as CryptoJS from 'crypto-js'; export class loginContentClass implements OnInit { model: any = {}; userID: any; - password: any; + code: any; serviceProviderID: any; status: any; dynamictype: any = 'password'; @@ -139,8 +139,8 @@ export class loginContentClass implements OnInit { return salt + iv + ciphertext; } - login(userId: any, password: any, doLogout) { - this.encryptPassword = this.encrypt(this.Key_IV, password) + login(userId: any, tempCode: any, doLogout) { + this.encryptPassword = this.encrypt(this.Key_IV, tempCode) if (userId.toLowerCase() === 'SUPERADMIN'.toLowerCase()) { // this.loginservice.superAdminAuthenticate(userId, password, doLogout) diff --git a/src/app/login/login.html b/src/app/login/login.html index d25ad15a..170dc6e2 100644 --- a/src/app/login/login.html +++ b/src/app/login/login.html @@ -61,7 +61,7 @@