Permalink
Browse files

using_open_id? returns true on the complete response

  • Loading branch information...
1 parent e7fdd97 commit a0abbf62771076010c5769847b6d38df13c0a23e @josh josh committed Jan 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/open_id_authentication.rb
View
2 lib/open_id_authentication.rb
@@ -74,7 +74,7 @@ def message
# working across sites
def using_open_id?(identifier = nil) #:doc:
identifier ||= open_id_identifier
- !identifier.blank?
+ !identifier.blank? || request.env[Rack::OpenID::RESPONSE]
end
def authenticate_with_open_id(identifier = nil, options = {}, &block) #:doc:

0 comments on commit a0abbf6

Please sign in to comment.