remove white space in username

This commit is contained in:
venbatechnologies@gmail.com 2022-01-21 16:15:00 +05:30
parent c0974a6433
commit 5a238c4b78

View File

@ -67,7 +67,8 @@ export class LoginComponent implements OnInit{
* AWS login service * AWS login service
*/ */
login() { login() {
let auth = { 'Username': this.email, 'Password': this.password }; const mailid = this.email.split(/\s/).join('');
let auth = { 'Username': mailid, 'Password': this.password };
this.aws.dologin(auth).subscribe(res => { this.aws.dologin(auth).subscribe(res => {
if (res !== undefined) { if (res !== undefined) {
this.getCommonSettings(); this.getCommonSettings();