Mirror fix on public key
This commit is contained in:
parent
62240b6bc1
commit
41b0a7b97c
2 changed files with 9 additions and 8 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue