auth service api improvements (#1865)

Rename Auth Service events:
- loginSubject -> onLogin
- logoutSubject -> onLogout
This commit is contained in:
Denys Vuika
2017-05-13 01:05:01 +01:00
committed by Eugenio Romano
parent 4db98a1d7b
commit 130c2e4428
3 changed files with 13 additions and 6 deletions

View File

@@ -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();
});
}