1
0
mirror of https://github.com/LinkStackOrg/LinkStack.git synced 2025-03-07 13:08:06 +01:00

Update Impersonate.php

This commit is contained in:
Julian Prieber 2023-07-14 18:25:25 +02:00
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);