diff --git a/src/app/controllers/pro/loginCtrl.js b/src/app/controllers/pro/loginCtrl.js index ee17a22437d..7146067d649 100644 --- a/src/app/controllers/pro/loginCtrl.js +++ b/src/app/controllers/pro/loginCtrl.js @@ -37,7 +37,7 @@ function (angular) { $http.post('/login', $scope.loginModel).then(function(results) { $scope.appEvent('logged-in', results.data.user); - $location.path('/'); + window.location.href = '/'; }, function(err) { if (err.status === 401) { $scope.loginError = "Username or password is incorrect";