mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3232] fixing retrieving for ecm user via site service (#3506)
This commit is contained in:
@@ -91,7 +91,7 @@ export class SitesService {
|
||||
* @returns Username string
|
||||
*/
|
||||
getEcmCurrentLoggedUserName(): string {
|
||||
return this.apiService.getInstance().ecmAuth.username;
|
||||
return this.apiService.getInstance().getEcmUsername();
|
||||
}
|
||||
|
||||
private handleError(error: Response): any {
|
||||
|
Reference in New Issue
Block a user