mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +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)
|
||||
.then(function success() {
|
||||
URLHelper.cleanParameters();
|
||||
$state.go('portainer.home');
|
||||
})
|
||||
.catch(function error() {
|
||||
$scope.state.AuthenticationError = 'Unable to login via OAuth';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue