You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eliot Sykes edited this page Jan 1, 2017
·
11 revisions
# path: lib/tasks/devise.rakenamespace:devisedodesc"Send password reset instructions and link but does not actually reset passwords"taskmass_password_reset: :environmentdoUser.all.eachdo |user|
# This only sends the password reset instructions, the# password is not changed. (Recipient has to click link# in email and follow instructions to actually change# the password).user.send_reset_password_instructionsendendend