mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-12 23:57:58 +08:00
Merge branch 'dev' of github.com:gogits/gogs into access
Conflicts: gogs.go models/models.go models/user.go templates/.VERSION templates/org/home.tmpl
This commit is contained in:
.gopmfile.travis.ymlCONTRIBUTING.mdREADME.md
cmd
conf/locale
locale_de-DE.inilocale_en-US.inilocale_es-ES.inilocale_fr-CA.inilocale_ja-JP.inilocale_lv-LV.inilocale_nl-NL.inilocale_ru-RU.inilocale_zh-CN.inilocale_zh-HK.ini
docker
gogs.gomodels
modules
auth
base
git
mailer
middleware
setting
public/ng
routers
scripts
templates
@ -103,7 +103,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