diff --git a/app/portainer/views/auth/authController.js b/app/portainer/views/auth/authController.js index 30ca6b42c..fb8968e48 100644 --- a/app/portainer/views/auth/authController.js +++ b/app/portainer/views/auth/authController.js @@ -111,7 +111,7 @@ function (urlHelper, $q, $scope, $state, $stateParams, $sanitize, Authentication } function oAuthLogin(code) { - return Authentication.oAuthLogin(code) + return Authentication.OAuthLogin(code) .then(function success() { urlHelper.cleanParameters(); $state.go('portainer.home');