fix middleware and login logout

This commit is contained in:
2025-06-16 11:12:51 +08:00
parent efaca622c2
commit 40a77277f5
4 changed files with 58 additions and 4 deletions

View File

@@ -138,7 +138,7 @@ export function Admin_V3_ComponentButtonUserCircle({
if (response && response.success) {
ComponentGlobal_NotifikasiBerhasil(response.message);
router.replace("/", { scroll: false });
router.replace("/login", { scroll: false });
}
} catch (error) {
console.error(error);