aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/org
diff options
context:
space:
mode:
authorJakobDev <jakobdev@gmx.de>2023-07-25 10:26:27 +0200
committerGitHub <noreply@github.com>2023-07-25 08:26:27 +0000
commit6598d0291cf7dfeb00cb5e5d18faf2bf46fad596 (patch)
tree00fda6f81294ac7c203836581ca25b3a41df819d /routers/web/org
parentaf1ffbcd63569df8646b20c524378f25710f129e (diff)
downloadgitea-6598d0291cf7dfeb00cb5e5d18faf2bf46fad596.tar.gz
gitea-6598d0291cf7dfeb00cb5e5d18faf2bf46fad596.zip
Allow Organisations to have a E-Mail (#25082)
Resolves #25057 This adds a E-Mail field to Organisations. The E-Mail is just shown on the Profile when it is visited by a logged in User. The E-mail is not used for something else. **Screenshots:** ![grafik](https://github.com/go-gitea/gitea/assets/15185051/a8d622b3-7278-4c08-984b-9c5ebfdb5471) ![grafik](https://github.com/go-gitea/gitea/assets/15185051/6dcb1dd7-d04b-49eb-bc96-6582cfe9757b) --------- Co-authored-by: Denys Konovalov <kontakt@denyskon.de> Co-authored-by: Denys Konovalov <privat@denyskon.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'routers/web/org')
-rw-r--r--routers/web/org/setting.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/web/org/setting.go b/routers/web/org/setting.go
index bd558f78b8..f63b2e9f06 100644
--- a/routers/web/org/setting.go
+++ b/routers/web/org/setting.go
@@ -100,6 +100,7 @@ func SettingsPost(ctx *context.Context) {
}
org.FullName = form.FullName
+ org.Email = form.Email
org.Description = form.Description
org.Website = form.Website
org.Location = form.Location