Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Commit

Permalink
invalid reference to accountURL (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
pekapl authored and yourivw committed Feb 18, 2018
1 parent c8d4460 commit f03f93d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LEClient/src/LEAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public function changeAccountKeys()
$privateKey = openssl_pkey_get_private(file_get_contents($this->accountKeysDir . 'newPrivate.pem'));
$details = openssl_pkey_get_details($privateKey);

$innerPayload = array('account' => $this->accountURL, 'newKey' => array(
$innerPayload = array('account' => $this->connector->accountURL, 'newKey' => array(
"kty" => "RSA",
"n" => LEFunctions::Base64UrlSafeEncode($details["rsa"]["n"]),
"e" => LEFunctions::Base64UrlSafeEncode($details["rsa"]["e"])
Expand Down Expand Up @@ -226,4 +226,4 @@ public function deactivateAccount()
}
}

?>
?>

0 comments on commit f03f93d

Please sign in to comment.