plataformatec/devise — pull request #1381 by jimherz (2011-10-12 21:32:05+00:00)
Title: Proposed change for paranoid mode implementation (Issue #1375)

Hi Jose and Devise team,

I've implemented some proposed changes in the PasswordsController only. If the approach looks got to you guys, I can additionally commit the following changes:

- Make the same change in UnlocksController and ConfirmationsController (only other places this logic appears)
- Remove successful_and_sane? from internal_helpers (replaced by successfully_sent?)
- Update the appropriate integration tests

Before I realized that integration/recoverable_test.rb was testing this logic, I created a PasswordsControllerTest to develop against. I will remove that in a subsequent commit.

Thanks,
Jim