From b25239e425e28a9b8d374cbd117ae0e972407feb Mon Sep 17 00:00:00 2001 From: Valery Sizov Date: Tue, 6 Jan 2015 13:23:54 -0800 Subject: masking access_token from url for logging --- lib/gitlab_projects.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/gitlab_projects.rb') diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb index 0744317..e9c9203 100644 --- a/lib/gitlab_projects.rb +++ b/lib/gitlab_projects.rb @@ -109,6 +109,7 @@ class GitlabProjects def mask_password_in_url(url) result = URI(url) result.password = "*****" unless result.password.nil? + result.user = "*****" unless result.user.nil? #it's needed for oauth access_token result rescue url -- cgit v1.2.1