diff options
author | Unknwon <u@gogs.io> | 2015-02-22 18:24:49 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-02-22 18:24:49 -0500 |
commit | 04164eada3bc89bb3b54aa3dea0f22203ff4aa6e (patch) | |
tree | 8c66bfea48dc2f1fc9638c212477d26fb807a743 /models/org.go | |
parent | 74a8bb93d84a75fae46cd40f2b670073bee5a593 (diff) | |
download | gitea-04164eada3bc89bb3b54aa3dea0f22203ff4aa6e.tar.gz gitea-04164eada3bc89bb3b54aa3dea0f22203ff4aa6e.zip |
models: able to rename user with diff letter cases #981
- templates/org: mirror fix on name output
- routers: add missing error check
Diffstat (limited to 'models/org.go')
-rw-r--r-- | models/org.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/org.go b/models/org.go index 3d37a37d69..b2f9c903a4 100644 --- a/models/org.go +++ b/models/org.go @@ -93,7 +93,7 @@ func CreateOrganization(org, owner *User) (*User, error) { return nil, ErrUserNameIllegal } - isExist, err := IsUserExist(org.Name) + isExist, err := IsUserExist(0, org.Name) if err != nil { return nil, err } else if isExist { |