return also user and password from login component

This commit is contained in:
Mario Romano
2016-09-06 11:53:08 +01:00
parent 65f4965dee
commit a9a2a9d9ae

View File

@@ -150,7 +150,7 @@ export class AlfrescoLoginComponent implements OnInit {
.subscribe(
(token: any) => {
this.success = true;
this.onSuccess.emit(token);
this.onSuccess.emit({token: token, username: value.username, password: value.password});
},
(err: any) => {
this.enableError();