authlogic_openid
authlogic_openid copied to clipboard
Gem of new version and small issue when using in test/console..
Can this Github repos be turned into gem? Now I only seem to find the 1.0.4 version :(
Also I get a 'nil.params?' error when using in console / test. Please see below for fix:
# This fixes the following error:
# You have a nil object when you didn't expect it!
# The error occurred while evaluating nil.params
module AuthlogicOpenid
module ActsAsAuthentic
module Methods
def openid_complete?
session_class.controller && session_class.controller.params[:open_id_complete] && session_class.controller.params[:for_model]
end
end
end
end