summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-05-08 14:08:32 +0100
committerlsces <lester@lsces.co.uk>2026-05-08 14:08:32 +0100
commite11d4f00990e6c1d1faec01794b1374ef47d7149 (patch)
tree29313f68d4ca41f21d0aa9797ec2b1c5e69c4d7e /admin
parentc4c758d8295435d66a27cdef7bcd3c0cfe1ed655 (diff)
downloadusers-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-xadmin/index.php1
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>",
];