tmcyf/tmcyf — pull request #84 by ivanvarghese (2014-02-07 02:04:59+00:00)
Title: Devise update

Retreat feature has been removed from the app and admin controller has been added (in case active admin or rails_admin isn't implemented). Updated devise from an old RC (3.0.0.rc) to the latest version (3.2.2). Devise update changes some defaults. Tokens were previously stored in the database allowing for anyone with read access to the database to use the tokens to sign in as someone by resetting their password. Now tokens are encrypted in the database (devise secret key) and the actual token is sent via email. Tokens have more arguments on each method (`@token`). Users are not signed in after confirmation so after confirmation, users are prompted to login instead of being taken to their account page.

Routes affected: devise routes, sign in, sign out, reset passwords, confirmations.