This commit is contained in:
peintnermax
2023-08-31 09:38:58 +02:00
parent e475418ce1
commit 101d11ac2f
4 changed files with 1 additions and 47 deletions

View File

@@ -31,7 +31,6 @@ export default function LoginPasskey({
setLoading(true);
updateSessionForChallenge()
.then((response) => {
console.log(response);
const pK =
response.challenges.webAuthN.publicKeyCredentialRequestOptions
.publicKey;
@@ -85,7 +84,6 @@ export default function LoginPasskey({
async function submitLogin(data: any) {
setLoading(true);
console.log(data);
const res = await fetch("/api/session", {
method: "PUT",
headers: {