mirror of https://github.com/portainer/portainer
fix(core/oauth): select no-team by default (#4227)
parent
297eea5da6
commit
b3b706d88d
|
@ -15,5 +15,9 @@ angular.module('portainer.oauth').controller('OAuthSettingsController', function
|
|||
if (ctrl.settings.AuthorizationURI !== '') {
|
||||
ctrl.state.provider.authUrl = ctrl.settings.AuthorizationURI;
|
||||
}
|
||||
|
||||
if (ctrl.settings.DefaultTeamID === 0) {
|
||||
ctrl.settings.DefaultTeamID = null;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue