Commit 60f8bbb8 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix minor bug that prevents logout from working in some cases.

parent 18d05233
......@@ -25,7 +25,7 @@ if (isset($target_uid) && $target_uid == "") {
# Get current login.
# Only admin users can logout someone other then themself.
$uid = GETLOGIN();
LOGGEDINORDIE($uid);
LOGGEDINORDIE($uid, CHECKLOGIN_MODMASK);
if (!isset($target_uid))
$target_uid = $uid;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment