NoamB/sorcery — pull request #441 by sandrew (2013-06-25 17:43:43+00:00)
Title: Unlock token in bruteforce protection is set to the model after the mail is sent

You had some errors in mailer code, so you could not see that in moment when send_unlock_token_email is sent, user.unlock_token is set to nil.