summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a187c75)
forgot to activate their account to do so by going through the lost password
procedure, which effectively revalidates their email address.
pass = User.make_token(8)
user.pass_crypt = pass
user.pass_crypt_confirmation = pass
pass = User.make_token(8)
user.pass_crypt = pass
user.pass_crypt_confirmation = pass
user.save
Notifier::deliver_reset_password(user, pass)
flash[:notice] = "Your password has been changed and is on its way to your mailbox :-)"
user.save
Notifier::deliver_reset_password(user, pass)
flash[:notice] = "Your password has been changed and is on its way to your mailbox :-)"