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

This commit is contained in:
Tiago Botelho 2017-07-07 23:07:08 +02:00
parent 5198cd28e0
commit f8c0ccb1a1
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: