lib/authlogic_connect/oauth/session.rb in authlogic-connect-0.0.1 vs lib/authlogic_connect/oauth/session.rb in authlogic-connect-0.0.2
- old
+ new
@@ -1,11 +1,10 @@
module AuthlogicConnect::Oauth
# This module is responsible for adding oauth
# to the Authlogic::Session::Base class.
module Session
def self.included(base)
- puts "included Oauth in Session"
base.class_eval do
include InstanceMethods
end
end
@@ -32,11 +31,9 @@
private
# Clears out the block if we are authenticating with oauth,
# so that we can redirect without a DoubleRender error.
def save_with_oauth(&block)
- puts "SAVE SESSION WITH OAUTH"
- puts "redirecting_to_oauth_server? #{redirecting_to_oauth_server?.to_s}"
block = nil if redirecting_to_oauth_server?
return block.nil?
end
def authenticating_with_oauth?
\ No newline at end of file