From be4ec0cbba681f481e4d803122e19a7fe83120c0 Mon Sep 17 00:00:00 2001 From: Lukas Treyer Date: Thu, 26 Jul 2018 18:38:55 +0200 Subject: env var GITEA_PUSHER_EMAIL (#4516) * env var GITEA_PUSHER_EMAIL * set pusher email only if email address is not private --- models/update.go | 1 + 1 file changed, 1 insertion(+) (limited to 'models/update.go') 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" ) -- cgit v1.2.3