Update add_passkey.php

This commit is contained in:
jakani24
2024-04-26 15:51:32 +02:00
parent 48df874718
commit 84cf430a8c

View File

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