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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user