plataformatec/devise — pull request #2464 by sslotnick (2013-06-11 21:16:45+00:00)
Title: Expose reset password and confirmation tokens

Picked up from https://github.com/plataformatec/devise/issues/2462

Currently there is no way to use custom mailers that include single use confirmation/password reset tokens generated by Devise. A developer might want to do this if the app should send different types of mail depending on the type or status of the user. For example, one reset password mail for a regular user, another for premium users.