Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 81c29c0

Browse files
authored
fix(coder): actually ignore email verified if config value is set (coder#6236)
1 parent fdad136 commit 81c29c0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

cli/server.go

+6-5
Original file line numberDiff line numberDiff line change
@@ -558,11 +558,12 @@ func Server(vip *viper.Viper, newAPI func(context.Context, *coderd.Options) (*co
558558
Verifier: oidcProvider.Verifier(&oidc.Config{
559559
ClientID: cfg.OIDC.ClientID.Value,
560560
}),
561-
EmailDomain: cfg.OIDC.EmailDomain.Value,
562-
AllowSignups: cfg.OIDC.AllowSignups.Value,
563-
UsernameField: cfg.OIDC.UsernameField.Value,
564-
SignInText: cfg.OIDC.SignInText.Value,
565-
IconURL: cfg.OIDC.IconURL.Value,
561+
EmailDomain: cfg.OIDC.EmailDomain.Value,
562+
AllowSignups: cfg.OIDC.AllowSignups.Value,
563+
UsernameField: cfg.OIDC.UsernameField.Value,
564+
SignInText: cfg.OIDC.SignInText.Value,
565+
IconURL: cfg.OIDC.IconURL.Value,
566+
IgnoreEmailVerified: cfg.OIDC.IgnoreEmailVerified.Value,
566567
}
567568
}
568569

0 commit comments

Comments
 (0)