diff options
Diffstat (limited to 'models/user/user.go')
-rw-r--r-- | models/user/user.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/models/user/user.go b/models/user/user.go index 62f2aa472d..80ddcdba37 100644 --- a/models/user/user.go +++ b/models/user/user.go @@ -10,7 +10,6 @@ import ( "crypto/sha256" "crypto/subtle" "encoding/hex" - "errors" "fmt" "net/url" "os" @@ -73,11 +72,6 @@ const ( EmailNotificationsDisabled = "disabled" ) -var ( - // ErrUserNameIllegal user name contains illegal characters error - ErrUserNameIllegal = errors.New("User name contains illegal characters") -) - // User represents the object of individual and member of organization. type User struct { ID int64 `xorm:"pk autoincr"` |