summaryrefslogtreecommitdiff
path: root/internal/processing/account/create.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/account/create.go')
-rw-r--r--internal/processing/account/create.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/processing/account/create.go b/internal/processing/account/create.go
index 1a172b865..32a59d1ef 100644
--- a/internal/processing/account/create.go
+++ b/internal/processing/account/create.go
@@ -34,8 +34,7 @@ import (
// Create processes the given form for creating a new account,
// returning an oauth token for that account if successful.
//
-// Fields on the form should have already been validated by the
-// caller, before this function is called.
+// Precondition: the form's fields should have already been validated and normalized by the caller.
func (p *Processor) Create(
ctx context.Context,
appToken oauth2.TokenInfo,