lib/authlogic_connect/common/variables.rb in authlogic-connect-0.0.5.1 vs lib/authlogic_connect/common/variables.rb in authlogic-connect-0.0.6
- old
+ new
@@ -45,22 +45,9 @@
result = auth_params[key] if (auth_params && auth_params[key])
result = auth_session[key] if (result.nil? || result.blank?)
result
end
- # because user and session are so closely tied together, I am still
- # uncertain as to how they are saved. So this makes sure if we are
- # logging in, it must be saving the session, otherwise the user.
- def correct_request_class?
- return false unless auth_params?
-
- if is_auth_session?
- auth_type.to_s == "session"
- else
- auth_type.to_s == "user"
- end
- end
-
def add_session_key(key, value)
end
def remove_session_key(key)