mirror of
https://github.com/portainer/portainer.git
synced 2025-07-29 18:29:44 +02:00
feat(oauth): fix the double refresh issue
This commit is contained in:
parent
6711e6c969
commit
b9ac3d4286
1 changed files with 0 additions and 1 deletions
|
@ -133,7 +133,6 @@ function($q, $scope, $state, $stateParams, $sanitize, Authentication, UserServic
|
||||||
return Authentication.OAuthLogin(code)
|
return Authentication.OAuthLogin(code)
|
||||||
.then(function success() {
|
.then(function success() {
|
||||||
URLHelper.cleanParameters();
|
URLHelper.cleanParameters();
|
||||||
$state.go('portainer.home');
|
|
||||||
})
|
})
|
||||||
.catch(function error() {
|
.catch(function error() {
|
||||||
$scope.state.AuthenticationError = 'Unable to login via OAuth';
|
$scope.state.AuthenticationError = 'Unable to login via OAuth';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue