public function setNewPassword(string $newPassword, string $timezone): bool {
		
		$this->pwReset = NULL;
		$this->hash = static::getHashedPasswordWithSalt($newPassword);
		
		if (!$this->store()) {
			return FALSE;
		}
		
		// creates session for this user
		$this->createSession($timezone);
		$this->resetFaults();
		
		return TRUE;
		
	}
public function setNewPassword(string $newPassword, string $timezone): bool {
		
		$this->pwReset = NULL;
		$this->hash = static::getHashedPasswordWithSalt($newPassword);
		
		if (!$this->store()) {
			return FALSE;
		}
		
		// creates session for this user
		$this->createSession($timezone);
		$this->resetFaults();
		
		return TRUE;
		
	}
public function setNewPassword ( string $ newPassword , string $ timezone ) : bool { $ this -> pwReset = NULL ; $ this -> hash = static :: getHashedPasswordWithSalt ( $ newPassword ) ; if ( ! $ this -> store ( ) ) { return FALSE ; } // creates session for this user $ this -> createSession ( $ timezone ) ; $ this -> resetFaults ( ) ; return TRUE ; }
Apply a password reset for this User.

@param	string	New password to set.
@param	string	IANA time zone identifier.
@return	bool
Apply a password reset for this User .