main
ilhamwara 2025-07-03 09:55:57 +07:00
parent 64cd238300
commit c76cdf45b3
1 changed files with 2 additions and 1 deletions

View File

@ -94,7 +94,8 @@ $("#grid-data").on("click", ".forcelogin", function() {
console.log(response); console.log(response);
if(response.status == true){ if(response.status == true){
toastr.success("Berhasil Login", 'Berhasil!', {positionClass: 'toast-bottom-right', containerId: 'toast-bottom-right'}); 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); history.pushState(null, null, location.href);
window.onpopstate = function () { window.onpopstate = function () {
history.go(1); history.go(1);