Fixed the issue when the user is not authenticated and the publicId is not empty
This commit is contained in:
parent
9734f45ec8
commit
dab067e71f
@ -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…
x
Reference in New Issue
Block a user