scambra/devise_invitable — pull request #253 by bradleypriest (2012-12-05 06:26:37+00:00)
Title: Accept invitation when resetting password only if invited

Currently `invitation_accepted_at` is set any time any user resets their password.
This checks to make sure there is an outstanding invitation before calling `accept_invitation!`