dre1080/warden — pull request #11 by JesseObrien (2011-10-26 05:44:31+00:00)
Title: Fixed the logic on is_confirm() and is_lock_expired(), they were the reve

Fixed the logic on is_confirm() and is_lock_expired(), they were the reverse of what they should be. When I registered a brand new user with confirmable turned off in the config, and using the default lock time from the class it first threw an error saying "confirmable_token" property not found.

After switching the logic there, it told me the account was locked upon first authentication.

I tested it by calling lock_access() on the newly created user after fixing this logic.