Skip to content

Commit e6619ff

Browse files
committed
Improve comments from self-review
1 parent 292d9f6 commit e6619ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

coderd/userauth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ type OIDCConfig struct {
214214
httpmw.OAuth2Config
215215

216216
Verifier *oidc.IDTokenVerifier
217-
// EmailDomain is an optional domain to require when authenticating.
217+
// EmailDomain is the domain to enforce when a user authenticates.
218218
EmailDomain string
219219
AllowSignups bool
220220
}

coderd/username/username.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var (
1212
replace = regexp.MustCompile("[^a-zA-Z0-9-]*")
1313
)
1414

15-
// Valid returns whether the input string is a valid username or not.
15+
// Valid returns whether the input string is a valid username.
1616
func Valid(str string) bool {
1717
if len(str) > 32 {
1818
return false

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy