summaryrefslogtreecommitdiffstats
path: root/models/ssh_key.go
diff options
context:
space:
mode:
authorBwko <bouwko@gmail.com>2016-12-28 09:33:21 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2016-12-28 16:33:21 +0800
commit331316894e391beb29fdebf9d8088973759bba1c (patch)
treee80827f0c2a87006c1601d3f1e93611644722a3a /models/ssh_key.go
parentf686a32eac75460d5b1fcf16b6f6c2ed57f5b03e (diff)
downloadgitea-331316894e391beb29fdebf9d8088973759bba1c.tar.gz
gitea-331316894e391beb29fdebf9d8088973759bba1c.zip
Replace Gogs with Gitea (#520)
Diffstat (limited to 'models/ssh_key.go')
-rw-r--r--models/ssh_key.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/ssh_key.go b/models/ssh_key.go
index f98a6b76f4..d7d71f68cb 100644
--- a/models/ssh_key.go
+++ b/models/ssh_key.go
@@ -172,7 +172,7 @@ func parseKeyString(content string) (string, error) {
// writeTmpKeyFile writes key content to a temporary file
// and returns the name of that file, along with any possible errors.
func writeTmpKeyFile(content string) (string, error) {
- tmpFile, err := ioutil.TempFile(setting.SSH.KeyTestPath, "gogs_keytest")
+ tmpFile, err := ioutil.TempFile(setting.SSH.KeyTestPath, "gitea_keytest")
if err != nil {
return "", fmt.Errorf("TempFile: %v", err)
}