-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(login): ensure $locationChange respects login
This commit fixes a critical bug introduced throughout the `ui-router` upgrade that allows users to access any page without logging in to the application. This has been patched so that $locationChange does not even begin if the user session does not exist. Finally, informative messages have been added to tell the user exactly what is going on and what to do next when the session exists, doesn't exist, or otherwise.
- Loading branch information
Showing
2 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters