aligned users to new design
This commit is contained in:
@@ -26,11 +26,17 @@ type OidcAuthConfig struct {
|
||||
ClientSecret string `yaml:"client_secret"`
|
||||
}
|
||||
|
||||
type UserPassAuthConfig struct {
|
||||
type InviteTokenDatabaseConfig struct {
|
||||
Type DatabaseType `yaml:"type"`
|
||||
Mongo *MongoDBConfig `yaml:"mongo"`
|
||||
}
|
||||
|
||||
type UserPassAuthConfig struct {
|
||||
Type DatabaseType `yaml:"type"`
|
||||
Mongo *MongoDBConfig `yaml:"mongo"`
|
||||
InviteTokenDatabase InviteTokenDatabaseConfig `yaml:"invite_token_database"`
|
||||
}
|
||||
|
||||
type AuthenticationConfig struct {
|
||||
Type AuthMode `yaml:"type"`
|
||||
Oidc OidcAuthConfig `yaml:"oidc"`
|
||||
|
Reference in New Issue
Block a user