git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@2511 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
@@ -424,8 +424,10 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
}
$scope.userInfo = data;
- if (data == null || !data.uu)
+ if (data == null || !data.uu) {
$scope.isAuthed = false;
+ window.location.pathname += 'signin';
+ }
});
$scope.logout = function() {
AuthenticationService.logout().success(function() {