mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 00:09:40 +02:00
fix(core/oauth): select no-team by default (#4227)
This commit is contained in:
parent
297eea5da6
commit
b3b706d88d
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue