mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-03 17:37:53 +02:00
let user choose SSH key owner when migrating to an org
This commit is contained in:
@@ -17,6 +17,9 @@ type MigrateOptions struct {
|
||||
AuthPasswordEncrypted string `json:"auth_password_encrypted,omitempty"`
|
||||
AuthToken string `json:"-"`
|
||||
AuthTokenEncrypted string `json:"auth_token_encrypted,omitempty"`
|
||||
// SSHKeyOwnerID overrides the owner whose managed SSH keypair authenticates
|
||||
// the SSH clone. 0 means use the target repository owner (the default).
|
||||
SSHKeyOwnerID int64 `json:"ssh_key_owner_id,omitempty"`
|
||||
// required: true
|
||||
UID int `json:"uid" binding:"Required"`
|
||||
// required: true
|
||||
|
||||
Reference in New Issue
Block a user