Merge branch 'username-password-stripped-from-import-url-fix' into 'master'

Username and password are no longer stripped from import url on import

See merge request !12725
This commit is contained in:
Douwe Maan 2017-07-07 22:41:37 +00:00
commit 7414f5407b
2 changed files with 9 additions and 0 deletions

View File

@ -536,6 +536,11 @@ class Project < ActiveRecord::Base
ProjectCacheWorker.perform_async(self.id)
end
remove_import_data
end
# This method is overriden in EE::Project model
def remove_import_data
import_data&.destroy
end

View File

@ -0,0 +1,4 @@
---
title: Username and password are no longer stripped from import url on mirror update
merge_request: 12725
author: