18F/myusa — pull request #172 by cpapazian (2014-08-15 05:16:44+00:00)
Title: Use Rails::cache for email login token

WIP ...

- Store token in Rails::cache instead of database
- Store remember_me and return_to in the token object
- Don't put extra params in the login link
- Use cache expiry to expire auth token
- TODO: make the token login a Warden strategy instead of controller filter
- TODO: remove email_authenticatable mixin and database fields