Skip to content
Snippets Groups Projects
Unverified Commit 26d2a960 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Typo's

parent 73eeb185
No related branches found
No related tags found
No related merge requests found
...@@ -66,19 +66,19 @@ class Auth_Yubico ...@@ -66,19 +66,19 @@ class Auth_Yubico
* Yubico client ID * Yubico client ID
* @var string * @var string
*/ */
private var $_id; private $_id;
/** /**
* Yubico client key * Yubico client key
* @var string * @var string
*/ */
private var $_key; private $_key;
/** /**
* Response from server * Response from server
* @var string * @var string
*/ */
private var $_response; private $_response;
/** /**
* Constructor * Constructor
...@@ -136,7 +136,7 @@ class Auth_Yubico ...@@ -136,7 +136,7 @@ class Auth_Yubico
/* Verify signature. */ /* Verify signature. */
if ($this->_key <> "") { if ($this->_key <> "") {
$rows = explode("\r\n", $responseMsg); $rows = explode("\r\n", $responseMsg);
response = array(); $response = array();
while (list(, $val) = each($rows)) { while (list(, $val) = each($rows)) {
// = is also used in BASE64 encoding so we only replace the first = by # which is not used in BASE64 // = is also used in BASE64 encoding so we only replace the first = by # which is not used in BASE64
$val = preg_replace('/=/', '#', $val, 1); $val = preg_replace('/=/', '#', $val, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment