mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-09 16:11:22 +02:00
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…
x
Reference in New Issue
Block a user