public function attemptResetPassword($resetCode, $newPassword)
	{
		if ($this->checkResetPasswordCode($resetCode))
		{
			$this->password = $newPassword;
			$this->reset_password_code = null;
			return $this->save();
		}

		return false;
	}
public function attemptResetPassword($resetCode, $newPassword)
	{
		if ($this->checkResetPasswordCode($resetCode))
		{
			$this->password = $newPassword;
			$this->reset_password_code = null;
			return $this->save();
		}

		return false;
	}
public function attemptResetPassword ( $ resetCode , $ newPassword ) { if ( $ this -> checkResetPasswordCode ( $ resetCode ) ) { $ this -> password = $ newPassword ; $ this -> reset_password_code = null ; return $ this -> save ( ) ; } return false ; }
Attempts to reset a user's password by matching
the reset code generated with the user's.

@param  string  $resetCode
@param  string  $newPassword
@return bool
Attempts to reset a user s password by matching the reset code generated with the user s .