aboutsummaryrefslogtreecommitdiffstats
path: root/models/update.go
diff options
context:
space:
mode:
authorLukas Treyer <lukastreyer@bluewin.ch>2018-07-26 18:38:55 +0200
committerLauris BH <lauris@nix.lv>2018-07-26 19:38:55 +0300
commitbe4ec0cbba681f481e4d803122e19a7fe83120c0 (patch)
tree44f9407c8b5dd09d96fe10ee549d67e44b931e74 /models/update.go
parenta847d16f5b9f4180b1ef9123ae94c443ed607363 (diff)
downloadgitea-be4ec0cbba681f481e4d803122e19a7fe83120c0.tar.gz
gitea-be4ec0cbba681f481e4d803122e19a7fe83120c0.zip
env var GITEA_PUSHER_EMAIL (#4516)
* env var GITEA_PUSHER_EMAIL * set pusher email only if email address is not private
Diffstat (limited to 'models/update.go')
-rw-r--r--models/update.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/models/update.go b/models/update.go
index b1bbe0754a..0f71cd1e70 100644
--- a/models/update.go
+++ b/models/update.go
@@ -23,6 +23,7 @@ const (
EnvRepoUsername = "GITEA_REPO_USER_NAME"
EnvRepoIsWiki = "GITEA_REPO_IS_WIKI"
EnvPusherName = "GITEA_PUSHER_NAME"
+ EnvPusherEmail = "GITEA_PUSHER_EMAIL"
EnvPusherID = "GITEA_PUSHER_ID"
)