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
|
* 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();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user