0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-22 01:01:13 +01:00
This commit is contained in:
novaeye 2015-12-23 17:50:14 +08:00
parent a49af93faf
commit 227dcc3cb9

View file

@ -60,6 +60,8 @@ func SettingsPost(ctx *middleware.Context, form auth.UpdateOrgSettingForm) {
}
return
}
// reset ctx.org.OrgLink with new name
ctx.Org.OrgLink = setting.AppSubUrl + "/org/" + form.Name
log.Trace("Organization name changed: %s -> %s", org.Name, form.Name)
}
// In case it's just a case change.