mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-02-04 16:16:55 +00:00
Revert "데모용 임시 회원가입 구현"
This reverts commit eb913366646f43fda669f0550788e0888c44b95a.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { callPostApi } from "$lib/hooks";
|
||||
import { exportRSAKeyToBase64 } from "$lib/modules/crypto";
|
||||
import type { LoginRequest, RegisterRequest } from "$lib/server/schemas";
|
||||
import type { LoginRequest } from "$lib/server/schemas";
|
||||
import { requestSessionUpgrade as requestSessionUpgradeInternal } from "$lib/services/auth";
|
||||
import { requestClientRegistration } from "$lib/services/key";
|
||||
import type { ClientKeys } from "$lib/stores";
|
||||
@@ -12,15 +12,6 @@ export const requestLogin = async (email: string, password: string) => {
|
||||
return res.ok;
|
||||
};
|
||||
|
||||
export const requestRegister = async (email: string, nickname: string, password: string) => {
|
||||
const res = await callPostApi<RegisterRequest>("/api/auth/register", {
|
||||
email,
|
||||
nickname,
|
||||
password,
|
||||
});
|
||||
return res.ok;
|
||||
};
|
||||
|
||||
export const requestSessionUpgrade = async ({
|
||||
encryptKey,
|
||||
decryptKey,
|
||||
|
||||
Reference in New Issue
Block a user