Commit f1825156 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'github_importer' into 'master'

Github importer

See merge request !51
parents 87feb100 1e85c7e7
v2.4.1
- Access token masking in url before loging
v2.4.0 v2.4.0
- Show error message when git push is rejected - Show error message when git push is rejected
......
...@@ -109,6 +109,7 @@ class GitlabProjects ...@@ -109,6 +109,7 @@ class GitlabProjects
def mask_password_in_url(url) def mask_password_in_url(url)
result = URI(url) result = URI(url)
result.password = "*****" unless result.password.nil? result.password = "*****" unless result.password.nil?
result.user = "*****" unless result.user.nil? #it's needed for oauth access_token
result result
rescue rescue
url url
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment