heroku/identity — pull request #97 by dmathieu (2014-02-21 10:05:51+00:00)
Title: Reject loading two-factor form if we haven't been through /login first

Right now, anyone can go to https://id.heroku.com/login/two-factor and see the second factor form.
We shouldn't be able to display this form unless we've been redirected to it after entering an email and a password.

This fixes the problem by redirecting to /login if we don't yet have an email and a password stored in session.