1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-04 21:35:23 +02:00

fix(auth): fix typo - missing function

This commit is contained in:
Chaim Lev Ari 2019-01-16 17:37:50 +02:00
parent 80d570861d
commit 3f44925d7e

View file

@ -111,7 +111,7 @@ function (urlHelper, $q, $scope, $state, $stateParams, $sanitize, Authentication
} }
function oAuthLogin(code) { function oAuthLogin(code) {
return Authentication.oAuthLogin(code) return Authentication.OAuthLogin(code)
.then(function success() { .then(function success() {
urlHelper.cleanParameters(); urlHelper.cleanParameters();
$state.go('portainer.home'); $state.go('portainer.home');