Mirror fix on public key

This commit is contained in:
Unknown committed 2014-04-27 17:01:39 -04:00
1 parent 62240b6bc1
commit 41b0a7b97c
2 files changed
+9 -8

No files matched your search

+2 -1
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,
}