lib/rspeckled/plugins/authentication.rb in rspeckled-0.0.18 vs lib/rspeckled/plugins/authentication.rb in rspeckled-0.0.19

- old
+ new

@@ -47,10 +47,10 @@ ApplicationController end authentication_controller_instance = authentication_controller_class.new - authentication_successful = if options.is_a?(Hash) && options.key?(:status) + authentication_successful = if options.is_a?(Hash) && options.has_key?(:status) options[:status] == :authorized else true end