diff options
| author | lsces <lester@lsces.co.uk> | 2026-05-08 14:08:32 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2026-05-08 14:08:32 +0100 |
| commit | e11d4f00990e6c1d1faec01794b1374ef47d7149 (patch) | |
| tree | 29313f68d4ca41f21d0aa9797ec2b1c5e69c4d7e /admin | |
| parent | c4c758d8295435d66a27cdef7bcd3c0cfe1ed655 (diff) | |
| download | users-e11d4f00990e6c1d1faec01794b1374ef47d7149.tar.gz users-e11d4f00990e6c1d1faec01794b1374ef47d7149.tar.bz2 users-e11d4f00990e6c1d1faec01794b1374ef47d7149.zip | |
Check values exist before using, and add tk token manually as the smarty added on is not currently workingV5-php84
Diffstat (limited to 'admin')
| -rwxr-xr-x | admin/index.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/index.php b/admin/index.php index 55dca04..d78c8a7 100755 --- a/admin/index.php +++ b/admin/index.php @@ -51,6 +51,7 @@ if( isset($_REQUEST["newuser"] ) ) { } else { $gBitSystem->setBrowserTitle( 'Assume User Identity' ); $formHash['assume_user'] = $_REQUEST['assume_user']; + $formHash['tk'] = $_REQUEST['tk']; $msgHash = [ 'confirm_item' => KernelTools::tra( 'This will log you in as the user' ) . " <strong>$userInfo[real_name] ($userInfo[login])</strong>", ]; |
