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 3 years ago
commit eb3d07dbb9

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

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

Loading…
Cancel
Save