dotansimha / dotansimha/accounts-ui-angular

Update $root.currentUser after login/logout

Open
#6 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
17
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Is it possible to update the current user after login/logout? For example, I have the $root.currentUser defined in an ng-show:

```




```

After logging in the $root.currentUser isn't updated and the div remains hidden, adversely after logging out the div still shows, until refreshing the page. Any ideas?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.