Update Impersonate.php
This commit is contained in:
parent
4652bc3e5e
commit
a7424e47e6
|
@ -27,7 +27,6 @@ class Impersonate
|
|||
if (\Route::currentRouteName() !== 'authAs') {
|
||||
$adminUser->remember_token = $token;
|
||||
$adminUser->save();
|
||||
echo "<script>window.location.href = '" . url('studio/links') . "';</script>";
|
||||
}
|
||||
|
||||
Auth::loginUsingId($impersonateUserId);
|
||||
|
|
Loading…
Reference in New Issue