mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
auth service api improvements (#1865)
Rename Auth Service events: - loginSubject -> onLogin - logoutSubject -> onLogout
This commit is contained in:
committed by
Eugenio Romano
parent
4db98a1d7b
commit
130c2e4428
@@ -56,7 +56,7 @@ export class UserInfoComponent implements OnInit {
|
||||
if (translateService) {
|
||||
translateService.addTranslationFolder('ng2-alfresco-userinfo', 'node_modules/ng2-alfresco-userinfo/src');
|
||||
}
|
||||
authService.loginSubject.subscribe((response) => {
|
||||
authService.onLogin.subscribe((response) => {
|
||||
this.getUserInfo();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user