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

Make it clear that default will be a string digit.

- since getHttpVal casts to string anyway.
This commit is contained in:
Jean Paul Galea 2016-04-18 16:15:11 +02:00
parent 714d6c9117
commit 3edc7f077b

View File

@ -100,7 +100,7 @@ $myLog->log(LOG_DEBUG, "found protocol version $protocol_version");
*/
$h = getHttpVal('h', '');
$client = getHttpVal('id', '0');
$timestamp = getHttpVal('timestamp', 0);
$timestamp = getHttpVal('timestamp', '0');
$otp = getHttpVal('otp', '');
$otp = strtolower($otp);