|
|
@ -152,6 +152,7 @@ func ShowSSHKeys(ctx *middleware.Context, uid int64) { |
|
|
|
var buf bytes.Buffer |
|
|
|
var buf bytes.Buffer |
|
|
|
for i := range keys { |
|
|
|
for i := range keys { |
|
|
|
buf.WriteString(keys[i].OmitEmail()) |
|
|
|
buf.WriteString(keys[i].OmitEmail()) |
|
|
|
|
|
|
|
buf.WriteString("\n") |
|
|
|
} |
|
|
|
} |
|
|
|
ctx.RenderData(200, buf.Bytes()) |
|
|
|
ctx.RenderData(200, buf.Bytes()) |
|
|
|
} |
|
|
|
} |
|
|
|