deskripsi:
- hapus folder auth yang lama
This commit is contained in:
2025-02-06 11:02:18 +08:00
parent ae7a928d69
commit 45c8dcdd57
8 changed files with 12 additions and 44 deletions

View File

@@ -1,18 +0,0 @@
import { Login } from "@/app_modules/auth";
import versionUpdate from "../../../../../package.json";
import { funCheckCookies } from "@/app_modules/_global/fun/get/fun_check_cookies";
import { redirect } from "next/navigation";
export default async function Page() {
const version = versionUpdate.version;
// const checkCookies = await funCheckCookies();
// console.log(checkCookies, "ini halaman login");
// if (!checkCookies) return redirect("/");
return (
<>
<Login version={version} />
</>
);
}

View File

@@ -1,8 +0,0 @@
import { Register } from "@/app_modules/auth";
import { auth_getCodeOtpByNumber } from "@/app_modules/auth/fun/get_kode_otp_by_id";
export default async function Page({ params }: { params: { id: string } }) {
let otpId = params.id;
const dataOtp = await auth_getCodeOtpByNumber({ kodeId: otpId });
return <Register />;
}

View File

@@ -1,9 +0,0 @@
import { SplashScreen } from "@/app_modules/auth";
export default async function PageSplash() {
return (
<>
<SplashScreen />
</>
);
}

View File

@@ -1,9 +0,0 @@
import { Validasi } from "@/app_modules/auth";
import { auth_getCodeOtpByNumber } from "@/app_modules/auth/fun/get_kode_otp_by_id";
export default async function Page({ params }: { params: { id: string } }) {
let kodeId = params.id;
const dataOtp = await auth_getCodeOtpByNumber({ kodeId: kodeId });
return <Validasi />;
}