aboutsummaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-11-01 19:23:56 +0000
committerGitHub <noreply@github.com>2022-11-01 19:23:56 +0000
commitc2d2323fc8fdcafde705be782711e318d79f4492 (patch)
treedd5d114f179389fd25b0b36723f2211a9518b6cd /services
parentf211d235c7a42c03f97697878550dc49b65e93da (diff)
downloadgitea-c2d2323fc8fdcafde705be782711e318d79f4492.tar.gz
gitea-c2d2323fc8fdcafde705be782711e318d79f4492.zip
Configure update checker on installation page (#21655)
- I recently became aware that this was enabled by-default, I don't necessary agree with that and this should rather be configured by the user(this patch does that on the installation page) as it connects to a homeserver, which I'd prefer to avoid on my instance. ![image](https://user-images.githubusercontent.com/25481501/199260613-a77a1b10-347a-4542-8982-9b9b24dad28c.png)
Diffstat (limited to 'services')
-rw-r--r--services/forms/user_form.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/forms/user_form.go b/services/forms/user_form.go
index 036c2ca3ec..95e4f9ed0e 100644
--- a/services/forms/user_form.go
+++ b/services/forms/user_form.go
@@ -60,6 +60,7 @@ type InstallForm struct {
DefaultKeepEmailPrivate bool
DefaultAllowCreateOrganization bool
DefaultEnableTimetracking bool
+ EnableUpdateChecker bool
NoReplyAddress string
PasswordAlgorithm string