Created
October 15, 2010 16:13
-
-
Save FooBarWidget/628463 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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