Skip to content

Commit

Permalink
updated save to be rails3 compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanl committed Mar 2, 2010
1 parent 85b2a6b commit 5363828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/authlogic/acts_as_authentic/password.rb
Expand Up @@ -314,7 +314,7 @@ def transition_password?(index, encryptor, crypted, check_against_database)

def transition_password(attempted_password)
self.password = attempted_password
save(false)
save(:validate => false)
end

def require_password?
Expand Down Expand Up @@ -352,4 +352,4 @@ def transition_from_crypto_providers
end
end
end
end
end

0 comments on commit 5363828

Please sign in to comment.