From b9ac3d4286a214010d537a0ad62c451505ab27bb Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Thu, 21 Feb 2019 11:09:57 +1300 Subject: [PATCH] feat(oauth): fix the double refresh issue --- app/portainer/views/auth/authController.js | 1 - 1 file changed, 1 deletion(-) 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';