1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-01 01:52:18 +01:00

Refactor and unset after use.

This commit is contained in:
Jean Paul Galea 2015-07-21 21:12:01 +00:00
parent 82d5796245
commit 1e4453ccdf

View File

@ -236,7 +236,9 @@ $myLog->log(LOG_DEBUG, 'Client data:', $cd);
/**
* Check client signature
*/
$apiKey = base64_decode($cd['secret']);
$apiKey = $cd['secret'];
$apiKey = base64_decode($apiKey);
unset($cd);
if ($h != '')
{