mirror of
https://github.com/juanfont/headscale.git
synced 2026-04-25 10:08:41 +02:00
fix oidc test, add tests for migration
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
committed by
Juan Font
parent
2fe65624c0
commit
4dd12a2f97
@@ -908,7 +908,10 @@ func LoadServerConfig() (*Config, error) {
|
||||
}
|
||||
}(),
|
||||
UseExpiryFromToken: viper.GetBool("oidc.use_expiry_from_token"),
|
||||
MapLegacyUsers: viper.GetBool("oidc.map_legacy_users"),
|
||||
// TODO(kradalby): Remove when strip_email_domain is removed
|
||||
// after #2170 is cleaned up
|
||||
StripEmaildomain: viper.GetBool("oidc.strip_email_domain"),
|
||||
MapLegacyUsers: viper.GetBool("oidc.map_legacy_users"),
|
||||
},
|
||||
|
||||
LogTail: logTailConfig,
|
||||
|
||||
Reference in New Issue
Block a user