mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Hide given credentials for migrated repos. (#9097)
CloneAddr was being saved as OriginalURL. Now passing OriginalURL through from the form and saving it in it's place
This commit is contained in:
@@ -326,6 +326,7 @@ func MigratePost(ctx *context.Context, form auth.MigrateRepoForm) {
|
||||
}
|
||||
|
||||
var opts = migrations.MigrateOptions{
|
||||
OriginalURL: form.CloneAddr,
|
||||
CloneAddr: remoteAddr,
|
||||
RepoName: form.RepoName,
|
||||
Description: form.Description,
|
||||
|
Reference in New Issue
Block a user