mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[ADF-3232] fixing retrieving for ecm user via site service (#3506)
This commit is contained in:
parent
69b47cfd22
commit
c57c0954c7
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user