Update create_acc.php

This commit is contained in:
jakani24
2024-04-26 14:13:14 +02:00
parent 640f3e0f88
commit 746e370abd

View File

@@ -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));
} }
?> ?>