mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 10:15:04 +00:00
rm logs
This commit is contained in:
@@ -16,7 +16,6 @@ export async function POST(request: NextRequest) {
|
|||||||
return NextResponse.json({ userId });
|
return NextResponse.json({ userId });
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
console.log(error);
|
|
||||||
return NextResponse.json(error, { status: 500 });
|
return NextResponse.json(error, { status: 500 });
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -114,7 +114,6 @@ export default function RegisterPasskey({ sessionId, isPrompt }: Props) {
|
|||||||
navigator.credentials
|
navigator.credentials
|
||||||
.create(resp.publicKeyCredentialCreationOptions)
|
.create(resp.publicKeyCredentialCreationOptions)
|
||||||
.then((resp) => {
|
.then((resp) => {
|
||||||
console.log(resp);
|
|
||||||
if (
|
if (
|
||||||
resp &&
|
resp &&
|
||||||
(resp as any).response.attestationObject &&
|
(resp as any).response.attestationObject &&
|
||||||
@@ -141,8 +140,6 @@ export default function RegisterPasskey({ sessionId, isPrompt }: Props) {
|
|||||||
),
|
),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
console.log(data);
|
|
||||||
|
|
||||||
return submitVerify(passkeyId, "", data, sessionId);
|
return submitVerify(passkeyId, "", data, sessionId);
|
||||||
} else {
|
} else {
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
|
|||||||
@@ -25,7 +25,6 @@ const createClient = <Client>(
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const getManagement = (app?: string | ZitadelServer) => {
|
export const getManagement = (app?: string | ZitadelServer) => {
|
||||||
console.log("init management");
|
|
||||||
let config;
|
let config;
|
||||||
if (app && typeof app === "string") {
|
if (app && typeof app === "string") {
|
||||||
const apps = getServers();
|
const apps = getServers();
|
||||||
|
|||||||
Reference in New Issue
Block a user