/**
  * 
  * @return boolean
  */
 public function resetPassword()
 {
     $this->trigger(self::BEFORE_RESET_PASSWORD);
     $this->scenario = 'reset-password';
     $this->password = Helper::generatePassword();
     if (!$this->save()) {
         return false;
     }
     $this->trigger(self::AFTER_RESET_PASSWORD);
     return true;
 }