thingsboard-aplcache

Changes

Details

diff --git a/ui/src/app/app.run.js b/ui/src/app/app.run.js
index 2ab5fe2..a9250e0 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);