diff --git a/models/user.go b/models/user.go index 5db2c4472..40376af0c 100644 --- a/models/user.go +++ b/models/user.go @@ -493,7 +493,7 @@ var ( ) // isUsableName checks if name is reserved or pattern of name is not allowed -// based on given reversed names and patterns. +// based on given reserved names and patterns. // Names are exact match, patterns can be prefix or suffix match with placeholder '*'. func isUsableName(names, patterns []string, name string) error { name = strings.TrimSpace(strings.ToLower(name))