Skip to content

Commit

Permalink
Fix security key check
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Gilbert committed Dec 1, 2021
1 parent 5675c8c commit cd42157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message/AbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ protected function getBaseData()
$data['customer_vault'] = $this->customer_vault;
}

if (isset($this->getSecurityKey())) {
if ($this->getSecurityKey() !== null) {
$data['security_key'] = $this->getSecurityKey();
} else {
$data['username'] = $this->getUsername();
Expand Down

0 comments on commit cd42157

Please sign in to comment.