Merge branch 'MOHEMM-PHASE-2-SFH' of http://34.17.52.79/Haroon6138/sfh-mohemm into MOHEMM-PHASE-2-SFH

MOHEMM-PHASE-2-SFH
choudhry masood 1 year ago
commit eb3d07dbb9

@ -438,9 +438,9 @@ export class ConfirmLoginComponent implements OnInit {
private checkUserAuthentication() {
this.cs.startLoading();
const request = new LoginRequest();
request.P_USER_NAME = this.username;
request.P_USER_NAME = btoa(this.username);
request.P_LANGUAGE = 'US'; // this.language;
request.P_PASSWORD = localStorage.getItem('password');
request.P_PASSWORD = btoa(localStorage.getItem('password'));
this.authService
.login(request, () => {
console.log('error here');

@ -253,9 +253,9 @@ export class LoginComponent implements OnInit, OnDestroy {
private checkUserAuthentication() {
this.cs.startLoading();
const request = new LoginRequest();
request.P_USER_NAME = this.username;
request.P_USER_NAME = btoa(this.username);
request.P_LANGUAGE = this.language;
request.P_PASSWORD = this.password;
request.P_PASSWORD = btoa(this.password);
console.log(request);
this.authService
.login(request, () => {

Loading…
Cancel
Save