mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
return also user and password from login component
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user