Browse Source

Derped comment

pull/3728/head
Flare 8 years ago
parent
commit
00081434f5
No known key found for this signature in database
GPG Key ID: 762EE3D369C1A772
  1. 2
      models/user.go

2
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))

Loading…
Cancel
Save