adding passkey to profile.php

This commit is contained in:
jakani24
2024-04-26 16:12:22 +02:00
parent 30444e57eb
commit c924815e99
6 changed files with 39 additions and 17 deletions

View File

@@ -66,7 +66,6 @@ $email = $_SESSION["email"];
if (authenticatorAttestationServerResponse.success) {
reloadServerPreview();
window.alert(authenticatorAttestationServerResponse.msg || 'registration success');
window.location.href = "end.php";
} else {
throw new Error(authenticatorAttestationServerResponse.msg);
}