diff --git a/app/portainer/views/auth/authController.js b/app/portainer/views/auth/authController.js index f4bb38da8..9f53b4231 100644 --- a/app/portainer/views/auth/authController.js +++ b/app/portainer/views/auth/authController.js @@ -133,7 +133,6 @@ function($q, $scope, $state, $stateParams, $sanitize, Authentication, UserServic return Authentication.OAuthLogin(code) .then(function success() { URLHelper.cleanParameters(); - $state.go('portainer.home'); }) .catch(function error() { $scope.state.AuthenticationError = 'Unable to login via OAuth';