Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 292d9f6 commit e6619ffCopy full SHA for e6619ff
coderd/userauth.go
@@ -214,7 +214,7 @@ type OIDCConfig struct {
214
httpmw.OAuth2Config
215
216
Verifier *oidc.IDTokenVerifier
217
- // EmailDomain is an optional domain to require when authenticating.
+ // EmailDomain is the domain to enforce when a user authenticates.
218
EmailDomain string
219
AllowSignups bool
220
}
coderd/username/username.go
@@ -12,7 +12,7 @@ var (
12
replace = regexp.MustCompile("[^a-zA-Z0-9-]*")
13
)
14
15
-// Valid returns whether the input string is a valid username or not.
+// Valid returns whether the input string is a valid username.
16
func Valid(str string) bool {
17
if len(str) > 32 {
18
return false
0 commit comments