diff --git a/src/app/login/login.component.html b/src/app/login/login.component.html index b94b75e..ab12270 100644 --- a/src/app/login/login.component.html +++ b/src/app/login/login.component.html @@ -23,7 +23,7 @@
- +
diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts index 325097c..2398433 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -32,7 +32,7 @@ import * as CryptoJS from 'crypto-js'; export class LoginComponent implements OnInit { userName: any; - code: any; + password: any; designation: any; dynamictype = 'password'; @@ -119,7 +119,7 @@ export class LoginComponent implements OnInit { login() { - let encryptPassword = this.encrypt(this.Key_IV, this.code) + let encryptPassword = this.encrypt(this.Key_IV, this.password) this.authService.login(this.userName.trim(), encryptPassword, false) .subscribe(res => { if (res.statusCode == '200') {