def create_reset_digest
      self.reset_token = Lines::User.generate_token
      update_attribute(:reset_digest,  Lines::User.digest(reset_token))
      update_attribute(:reset_sent_at, Time.zone.now)
    end
def create_reset_digest
      self.reset_token = Lines::User.generate_token
      update_attribute(:reset_digest,  Lines::User.digest(reset_token))
      update_attribute(:reset_sent_at, Time.zone.now)
    end
Sets +rest_digest+ and +reset_sent_at+ for password reset.