mozilla/fxa-auth-server — pull request #840 by rfk (2014-11-26 01:25:14+00:00)
Title: Account lockout

This is a work-in-progress branch for implementing account lockout, as described in #801. The first commit is a concrete API spec, for discussion.

Things of note:

* The `resend_code` endpoint has the usual oauth continuation mumbo-jumbo, in keeping with other email-sending endpoints.
* The `verify_code` takes both `uid` and `code`, in the same what that `recovery_email/verify_code` does. I'm not sure this is a good idea since we will have to make sure the verification page as the `uid` available. But it's unauthenticated so it can't take the `uid` from its authenticated context like `password/forgot/verify_code`.

@dannycoates @zaach @ncalexan f?