- UI Investasi
- UI Donasi
## No issue
This commit is contained in:
2024-08-01 16:48:54 +08:00
parent 810ce1c00d
commit 2ab3a8abb1
135 changed files with 2222 additions and 1652 deletions

View File

@@ -18,7 +18,7 @@ export async function auth_funValidasi(nomor: string) {
id: true,
nomor: true,
username: true,
masterUserRoleId: true
masterUserRoleId: true,
},
});
@@ -37,13 +37,15 @@ export async function auth_funValidasi(nomor: string) {
cookies().set({
name: "ssn",
value: res,
maxAge: 60 * 60 * 24 * 7,
maxAge: 60 * 60 * 24 * 30,
});
revalidatePath(RouterHome.main_home);
}
return { status: 200, message: "Nomor Terverifikasi", role: cek.masterUserRoleId };
return {
status: 200,
message: "Nomor Terverifikasi",
role: cek.masterUserRoleId,
};
}