Skip to content

Instantly share code, notes, and snippets.

@FooBarWidget
Created October 15, 2010 16:13
Show Gist options
  • Save FooBarWidget/628463 to your computer and use it in GitHub Desktop.
Save FooBarWidget/628463 to your computer and use it in GitHub Desktop.
diff --git a/lib/authlogic_openid/acts_as_authentic.rb b/lib/authlogic_openid/acts_as_authentic.rb
index 92c9c52..508b544 100644
--- a/lib/authlogic_openid/acts_as_authentic.rb
+++ b/lib/authlogic_openid/acts_as_authentic.rb
@@ -167,7 +167,7 @@ module AuthlogicOpenid
end
def validate_password_with_openid?
- !using_openid? && require_password?
+ (!using_openid? && require_password?) || password_changed?
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment