summaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-05-06 21:21:22 +0800
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-05-06 21:21:22 +0800
commit930d1759aea9777767fcaf025f25076420c137c6 (patch)
treef9756d67555467636ed3fa644a155665612429fb /routers/repo
parent9a0b0da1fe1a32b8ff5cc09f97687395fec2ed57 (diff)
downloadgitea-930d1759aea9777767fcaf025f25076420c137c6.tar.gz
gitea-930d1759aea9777767fcaf025f25076420c137c6.zip
Remove env user salt since no need to use (#1515)
* remove env user salt since no need to use * remove unused variable from update.go
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/http.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/repo/http.go b/routers/repo/http.go
index 9c2ec4d029..82c07b9d85 100644
--- a/routers/repo/http.go
+++ b/routers/repo/http.go
@@ -207,7 +207,6 @@ func HTTP(ctx *context.Context) {
environ = []string{
models.EnvRepoUsername + "=" + username,
models.EnvRepoName + "=" + reponame,
- models.EnvRepoUserSalt + "=" + repoUser.Salt,
models.EnvPusherName + "=" + authUser.Name,
models.EnvPusherID + fmt.Sprintf("=%d", authUser.ID),
models.ProtectedBranchRepoID + fmt.Sprintf("=%d", repo.ID),