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