remove white space in username
This commit is contained in:
parent
c0974a6433
commit
5a238c4b78
@ -67,7 +67,8 @@ export class LoginComponent implements OnInit{
|
||||
* AWS login service
|
||||
*/
|
||||
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 => {
|
||||
if (res !== undefined) {
|
||||
this.getCommonSettings();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user