fix(coder): actually ignore email verified if config value is set (#6236)

This commit is contained in:
Cian Johnston
2023-02-16 15:17:37 +00:00
committed by GitHub
parent fdad136905
commit 81c29c018a

View File

@ -563,6 +563,7 @@ func Server(vip *viper.Viper, newAPI func(context.Context, *coderd.Options) (*co
UsernameField: cfg.OIDC.UsernameField.Value, UsernameField: cfg.OIDC.UsernameField.Value,
SignInText: cfg.OIDC.SignInText.Value, SignInText: cfg.OIDC.SignInText.Value,
IconURL: cfg.OIDC.IconURL.Value, IconURL: cfg.OIDC.IconURL.Value,
IgnoreEmailVerified: cfg.OIDC.IgnoreEmailVerified.Value,
} }
} }