mirror of
https://github.com/go-gitea/gitea
synced 2024-12-26 11:24:35 +01:00
commit
4c896bb620
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ func SettingsPost(ctx *middleware.Context, form auth.UpdateOrgSettingForm) {
|
||||||
}
|
}
|
||||||
return
|
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)
|
log.Trace("Organization name changed: %s -> %s", org.Name, form.Name)
|
||||||
}
|
}
|
||||||
// In case it's just a case change.
|
// In case it's just a case change.
|
||||||
|
|
Loading…
Reference in a new issue