Closed pmorton closed 12 years ago
@options[:basic_auth_only] = @options.delete(:basic_auth_only) || true will always evaluate to true.
Instead, I am only overwriting the value if it has not already been defined.
@pmorton good catch man!
@options[:basic_auth_only] = @options.delete(:basic_auth_only) || true will always evaluate to true.
Instead, I am only overwriting the value if it has not already been defined.