models: able to rename user with diff letter cases #981
- templates/org: mirror fix on name output - routers: add missing error check
This commit is contained in:
parent
74a8bb93d8
commit
04164eada3
8 changed files with 97 additions and 83 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue