lib/brakeman/checks/check_basic_auth.rb in brakeman-2.5.0 vs lib/brakeman/checks/check_basic_auth.rb in brakeman-2.6.0
- old
+ new
@@ -29,11 +29,10 @@
:warning_type => "Basic Auth",
:warning_code => :basic_auth_password,
:message => "Basic authentication password stored in source code",
:code => call,
:confidence => 0,
- :file => controller[:file]
-
+ :file => controller[:files].first
break
end
end
end
end