From dab067e71fbca5f04666ed0cc17f7691772c91f3 Mon Sep 17 00:00:00 2001 From: GinMu Date: Sat, 14 Oct 2017 16:28:16 +0800 Subject: [PATCH] Fixed the issue when the user is not authenticated and the publicId is not empty --- ui/src/app/app.run.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/src/app/app.run.js b/ui/src/app/app.run.js index 2ab5fe2bd5..a9250e0801 100644 --- a/ui/src/app/app.run.js +++ b/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);