Commit 747121befc9f4d24ded003a4e4345094c208979e

Authored by Andrew Shvayka
Committed by GitHub
2 parents 90d9a336 dab067e7

Merge pull request #349 from GinMu/master

Fixed the issue when the user is not authorized and the publicId i…
Showing 1 changed file with 1 additions and 4 deletions
... ... @@ -111,10 +111,7 @@ export default function AppRun($rootScope, $window, $injector, $location, $log,
111 111 }
112 112 }
113 113 } else {
114   - if (publicId && publicId.length > 0) {
115   - evt.preventDefault();
116   - reloadUserFromPublicId();
117   - } else if (to.module === 'private') {
  114 + if (to.module === 'private') {
118 115 evt.preventDefault();
119 116 if (to.url === '/home' || to.url === '/') {
120 117 $state.go('login', params);
... ...