main
ilhamwara 2025-07-03 10:04:29 +07:00
parent 24897833f4
commit cf98abd293
2 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ class UserController extends Controller
} else {
// if ($user->username && $user->password) {
Auth::logout();
// Auth::logout();
if (Auth::loginUsingId($keyId)) {
$session = [
'username' => $user->username,

View File

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