Permalink
Browse files

Fixed bug to occur loop call method

validate_by_openid method is called for session maintenance.
  • Loading branch information...
1 parent 4a1f644 commit 5c5a1caff9c9bf3171c4d8e91a40e5669d6b741d @mataki committed Jul 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/authlogic_openid/session.rb
@@ -110,7 +110,7 @@ def validate_by_openid
if !attempted_record
if auto_register?
auto_reg_record = create_open_id_auto_register_record(openid_identifier, registration)
- if !auto_reg_record.save
+ if !auto_reg_record.save_without_session_maintenance
auto_reg_record.errors.each {|attr, msg| errors.add(attr, msg) }
else
self.attempted_record = auto_reg_record

0 comments on commit 5c5a1ca

Please sign in to comment.