Browse Source

Merge pull request #1317 from smcquay/keys

fix .keys route
pull/1393/head
无闻 9 years ago
parent
commit
333ab1b2b4
  1. 1
      routers/user/home.go

1
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())
}

Loading…
Cancel
Save