From c76cdf45b3bd7a6608c37e809e9796d6056b6035 Mon Sep 17 00:00:00 2001 From: ilhamwara Date: Thu, 3 Jul 2025 09:55:57 +0700 Subject: [PATCH] update --- resources/views/modules/management/user/index.blade.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/views/modules/management/user/index.blade.php b/resources/views/modules/management/user/index.blade.php index 5bfa78e..af53107 100644 --- a/resources/views/modules/management/user/index.blade.php +++ b/resources/views/modules/management/user/index.blade.php @@ -94,7 +94,8 @@ $("#grid-data").on("click", ".forcelogin", function() { console.log(response); if(response.status == true){ toastr.success("Berhasil Login", 'Berhasil!', {positionClass: 'toast-bottom-right', containerId: 'toast-bottom-right'}); - window.location.href = '{{url("/dashboard")}}'; + console.log(response); + // window.location.href = '{{url("/dashboard")}}'; history.pushState(null, null, location.href); window.onpopstate = function () { history.go(1);