update
parent
64cd238300
commit
c76cdf45b3
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue