Changes

Jump to navigation Jump to search
No change in size ,  13:36, 10 November 2010
Line 55: Line 55:     
  # reset user password
 
  # reset user password
  user = User.find_by_login("user")
+
  user = User.find_by_email("user")
 
  password_key = user.forgot_password!
 
  password_key = user.forgot_password!
 
  Mailer.deliver_forgotten_password(user, password_key)
 
  Mailer.deliver_forgotten_password(user, password_key)

Navigation menu