git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@3083 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
@@ -430,7 +430,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
$scope.userInfo = data;
if (data == null || !data.userUU) {
$scope.isAuthed = false;
- window.location.pathname += 'signin';
+ $window.location.href = BaseService.getRootPath() + "/signin";
}
});
$scope.logout = function() {
@@ -256,12 +256,12 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
AuthenticationService.logout().success(function() {
- $window.location.reload();
};