diff options
author | 无闻 <u@gogs.io> | 2015-07-25 00:46:39 +0800 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2015-07-25 00:46:39 +0800 |
commit | 333ab1b2b47e948dddb8393061985dbef1144c2f (patch) | |
tree | 6e9dbb125456694af8c9e978a34898e277fd4af7 /routers | |
parent | d86c4841fa1763edb55a480184757e79f9b12e46 (diff) | |
parent | 73698d292a2c60cbe947efc2f62c05d8ffd88277 (diff) | |
download | gitea-333ab1b2b47e948dddb8393061985dbef1144c2f.tar.gz gitea-333ab1b2b47e948dddb8393061985dbef1144c2f.zip |
Merge pull request #1317 from smcquay/keys
fix .keys route
Diffstat (limited to 'routers')
-rw-r--r-- | routers/user/home.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/user/home.go b/routers/user/home.go index 3484e78050..ef05be27a3 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -152,6 +152,7 @@ func ShowSSHKeys(ctx *middleware.Context, uid int64) { var buf bytes.Buffer for i := range keys { buf.WriteString(keys[i].OmitEmail()) + buf.WriteString("\n") } ctx.RenderData(200, buf.Bytes()) } |