function GoogleAuthenticator::internalPutData in Google Authenticator login 6
Same name and namespace in other branches
- 7 ga4php.php \GoogleAuthenticator::internalPutData()
8 calls to GoogleAuthenticator::internalPutData()
File
- ./
ga4php.php, line 70
Class
Code
function internalPutData($username, $data) {
if ($data == "") {
$enco = "";
}
else {
// $data['user'] = $username;
$enco = base64_encode(serialize($data));
}
return $this
->putData($username, $enco);
}