Commit a6554486 authored by Leigh Stoller's avatar Leigh Stoller

First bug fix ... fix up things so the logout button works!

parent c108da6a
......@@ -37,7 +37,7 @@ if (isset($user)) {
}
$target_uid = $target_user->uid();
if (! $isadmin) {
if (!$isadmin && !$target_user->SameUser($this_user)) {
PAGEHEADER("Logout");
echo "<center>
<h3>You do not have permission to logout '$target_uid'</h3>
......
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