/**
* Resets password.
*
* @return boolean if password was reset.
*/
public function resetPassword()
{
$this->_user->setPassword($this->password);
$this->_user->removePasswordResetToken();
if ($this->_user->save()) {
$this->_user->sendPasswordChangedEmail();
return true;
}
return false;
}