Browse Source

Use ssh user specified in the config for Git auth

Brendan Abolivier 7 years ago
parent
commit
175f05e91f
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/git/git.go

+ 1
- 1
src/git/git.go View File

59
 		return nil, err
59
 		return nil, err
60
 	}
60
 	}
61
 
61
 
62
-	return &gitssh.PublicKeys{User: "git", Signer: signer}, nil
62
+	return &gitssh.PublicKeys{User: user, Signer: signer}, nil
63
 }
63
 }
64
 
64
 
65
 // clone clones a Git repository into a given path, using a given auth.
65
 // clone clones a Git repository into a given path, using a given auth.