Skip to content

Commit

Permalink
When user details cannot be located, silently clear the cookie and pr…
Browse files Browse the repository at this point in the history
…oceed as

if nothing has happened. Nothing to see here, please move along.

The indicident is logged.

re: #574
  • Loading branch information
dlangille committed Jun 30, 2024
1 parent 0f22dc8 commit 85bc95f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion classes/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ function FetchByCookie($Cookie) {
freshports_CookieClear();
syslog(LOG_ERR, "Could not find user details for '$Cookie' from '" .
$_SERVER['REMOTE_ADDR'] . "' for '". $_SERVER['REQUEST_URI'] . "'.");
die('Your user details were not found. You have been logged out. Please return to the <a href="/">home page</a>.');
}
} else {
$numrows = -1;
Expand Down

0 comments on commit 85bc95f

Please sign in to comment.