Mirror fix on public key

This commit is contained in:
Unknown 2014-04-27 17:01:39 -04:00
parent 62240b6bc1
commit 41b0a7b97c
2 changed files with 9 additions and 8 deletions

View file

@ -166,7 +166,8 @@ func SettingSSHKeys(ctx *middleware.Context, form auth.AddSSHKeyForm) {
return
}
k := &models.PublicKey{OwnerId: ctx.User.Id,
k := &models.PublicKey{
OwnerId: ctx.User.Id,
Name: form.KeyName,
Content: form.KeyContent,
}