Update create_acc.php
This commit is contained in:
@@ -254,6 +254,7 @@ try {
|
|||||||
// Save challenge to session or somewhere else if needed
|
// Save challenge to session or somewhere else if needed
|
||||||
} else if ($fn === 'processCreate') {
|
} else if ($fn === 'processCreate') {
|
||||||
// Process create
|
// Process create
|
||||||
|
$challenge = $_SESSION['challenge'];
|
||||||
$clientDataJSON = base64_decode($post->clientDataJSON);
|
$clientDataJSON = base64_decode($post->clientDataJSON);
|
||||||
$attestationObject = base64_decode($post->attestationObject);
|
$attestationObject = base64_decode($post->attestationObject);
|
||||||
|
|
||||||
@@ -280,8 +281,4 @@ try {
|
|||||||
header('Content-Type: application/json');
|
header('Content-Type: application/json');
|
||||||
print(json_encode($return));
|
print(json_encode($return));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user