Permalink
Browse files

Remove duplicated method.

  • Loading branch information...
1 parent 4b7a920 commit 96c8238b02db310d73b469a6db9ad824280f7bac @josevalim josevalim committed Mar 28, 2010
Showing with 1 addition and 6 deletions.
  1. +1 −0 CHANGELOG.rdoc
  2. +0 −6 lib/devise/models/authenticatable.rb
View
@@ -13,6 +13,7 @@
* E-mails now use any template available in the filesystem. Easy to create multipart e-mails.
* E-mails asks headers_for in the model to set the proper headers.
* Allow to specify haml in devise_views.
+ * Compatibility with Datamapper and Mongoid.
* bug fix
* Do not use lock! on lockable since it's part of ActiveRecord API.
@@ -50,12 +50,6 @@ def valid_password?(incoming_password)
password_digest(incoming_password) == self.encrypted_password
end
- # Verifies whether an +incoming_authentication_token+ (i.e. from single access URL)
- # is the user authentication token.
- def valid_authentication_token?(incoming_auth_token)
- incoming_auth_token == self.authentication_token
- end
-
# Checks if a resource is valid upon authentication.
def valid_for_authentication?(attributes)
valid_password?(attributes[:password])

0 comments on commit 96c8238

Please sign in to comment.