mozilla/fxa-auth-server — pull request #654 by dannycoates (2014-03-25 17:32:59+00:00)
Title: resend blackout period

This adds a temporary blackout window where calls to `/recovery_email/resend_code` will not send an email for the configured period of time after an account is created (default 10 minutes).

I've manually inspected the logs of the test in `resend_blackout_tests.js` to verify the correct behavior because it is not ideal. It doesn't automatically verify that the second email doesn't get sent. The edits to the other tests are because those resends were failing (as now expected), so... anyway I'll make these tests better if we keep this blackout long term.

Otherwise, the meat of this change is line 369 in `routes/account.js`

r? @ckarlof