app/processors/casino/processor_concern/authentication.rb in casino-3.0.3 vs app/processors/casino/processor_concern/authentication.rb in casino-3.0.4
- old
+ new
@@ -19,19 +19,19 @@
authentication_result
end
def authenticators
@authenticators ||= begin
- CASino.config.authenticators.each do |name, auth|
+ CASino.config[:authenticators].each do |name, auth|
next unless auth.is_a?(Hash)
authenticator = if auth[:class]
auth[:class].constantize
else
load_authenticator(auth[:authenticator])
end
- CASino.config.authenticators[name] = authenticator.new(auth[:options])
+ CASino.config[:authenticators][name] = authenticator.new(auth[:options])
end
end
end
private