diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-05-03 11:46:14 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-05-03 11:46:14 +0200 |
commit | 3dc276b367fe88c3c1026371d275d6078611f625 (patch) | |
tree | 38706893608e42eda2e3d4defe417b1b082c5296 /lib | |
parent | 9ce099429972726da22253407d98ae8aa1ef167b (diff) | |
download | gitlab-ce-3dc276b367fe88c3c1026371d275d6078611f625.tar.gz |
Remove parallel assignment
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/auth.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/auth.rb b/lib/gitlab/auth.rb index 32e903905ad..0479006f993 100644 --- a/lib/gitlab/auth.rb +++ b/lib/gitlab/auth.rb @@ -4,7 +4,8 @@ module Gitlab def find(login, password, project:, ip:) raise "Must provide an IP for rate limiting" if ip.nil? - user, type = nil, nil + user = nil + type = nil if valid_ci_request?(login, password, project) type = :ci |