Update Impersonate.php

This commit is contained in:
Julian Prieber 2023-07-14 18:25:25 +02:00
parent 4652bc3e5e
commit a7424e47e6
1 changed files with 0 additions and 1 deletions

View File

@ -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);