mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-26 11:19:26 +02:00
minor fix in user module. The user cookie was checked for a value even if the cookie does not exist
This commit is contained in:
parent
64e993fc30
commit
57e734b804
@ -550,7 +550,7 @@ function WriteStandardHeader($myMsg)
|
||||
echo "<br>";
|
||||
|
||||
// If a user is logged in, display logout text
|
||||
if( isset($_COOKIE["usr"]) || $_COOKIE["usr"] != "|")
|
||||
if( isset($_COOKIE["usr"]) && $_COOKIE["usr"] != "|")
|
||||
{
|
||||
echo '<table align="right">';
|
||||
echo '<tr>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user