Browse Source

Merge pull request #349 from GinMu/master

Fixed the issue when the user is not authorized and the publicId i…
pull/352/head
Andrew Shvayka 9 years ago
committed by GitHub
parent
commit
747121befc
  1. 5
      ui/src/app/app.run.js

5
ui/src/app/app.run.js

@ -111,10 +111,7 @@ export default function AppRun($rootScope, $window, $injector, $location, $log,
}
}
} else {
if (publicId && publicId.length > 0) {
evt.preventDefault();
reloadUserFromPublicId();
} else if (to.module === 'private') {
if (to.module === 'private') {
evt.preventDefault();
if (to.url === '/home' || to.url === '/') {
$state.go('login', params);

Loading…
Cancel
Save