diff --git a/modules/core/client/config/core.client.route-filter.js b/modules/core/client/config/core.client.route-filter.js index a68b70231f..4d7c605492 100644 --- a/modules/core/client/config/core.client.route-filter.js +++ b/modules/core/client/config/core.client.route-filter.js @@ -25,7 +25,7 @@ if (!allowed) { event.preventDefault(); - if (Authentication.user !== undefined && typeof Authentication.user === 'object') { + if (Authentication.user !== null && typeof Authentication.user === 'object') { $state.transitionTo('forbidden'); } else { $state.go('authentication.signin').then(function () {