update
parent
b5a0ae6929
commit
7c958eb283
|
@ -236,7 +236,6 @@ class UserController extends Controller
|
|||
'group_name' => @$user->group->name,
|
||||
];
|
||||
// $this->repository->updateById($user->user_id,['last_login' => Carbon::now(), 'is_online' => session_id()]);
|
||||
dd($session);
|
||||
session($session);
|
||||
// logActivity($request, __('strings.backend.logs.login_success',['name' => $user->username]));
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ $("#grid-data").on("click", ".forcelogin", function() {
|
|||
request.done(function(response, textStatus, jqXHR){
|
||||
console.log(response);
|
||||
toastr.success("Berhasil Login", 'Berhasil!', {positionClass: 'toast-bottom-right', containerId: 'toast-bottom-right'});
|
||||
window.location.href = '{{url("/dashboard")}}';
|
||||
//window.location.href = '{{url("/dashboard")}}';
|
||||
history.pushState(null, null, location.href);
|
||||
window.onpopstate = function () {
|
||||
history.go(1);
|
||||
|
|
Loading…
Reference in New Issue