Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.21.12.1^2
zouap 4 years ago
parent
commit
4d783b1f4f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/http.go

+ 1
- 1
routers/repo/http.go View File

@@ -257,7 +257,7 @@ func HTTP(ctx *context.Context) {
models.EnvPusherID + fmt.Sprintf("=%d", authUser.ID),
models.EnvIsDeployKey + "=false",
}
log.Info("username=" + username + ", EnvPusherName=" + authUser.Name + " EnvRepoName=" + reponame)
if !authUser.KeepEmailPrivate {
environ = append(environ, models.EnvPusherEmail+"="+authUser.Email)
}


Loading…
Cancel
Save