mirror of
https://github.com/kmc7468/arkvault.git
synced 2025-12-16 06:58:46 +00:00
암호 키 등록 후 Refresh Token 업그레이드 구현
This commit is contained in:
@@ -17,6 +17,7 @@ export const POST: RequestHandler = async ({ request, cookies, getClientAddress
|
||||
error(403, "Forbidden");
|
||||
}
|
||||
|
||||
const challenge = await registerPubKey(userId, getClientAddress(), zodRes.data.pubKey);
|
||||
const { pubKey } = zodRes.data;
|
||||
const challenge = await registerPubKey(userId, getClientAddress(), pubKey.trim());
|
||||
return json({ challenge });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user