mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-03 00:45:22 +02:00
Add separate SSH_USER config option (#17584)
Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
parent
9911b66aea
commit
99d14f6051
7 changed files with 13 additions and 8 deletions
|
@ -540,10 +540,7 @@ func (repo *Repository) cloneLink(isWiki bool) *CloneLink {
|
|||
repoName += ".wiki"
|
||||
}
|
||||
|
||||
sshUser := setting.RunUser
|
||||
if setting.SSH.StartBuiltinServer {
|
||||
sshUser = setting.SSH.BuiltinServerUser
|
||||
}
|
||||
sshUser := setting.SSH.User
|
||||
|
||||
cl := new(CloneLink)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue