diff --git a/router.php b/router.php index 6a2635a..85d6c05 100644 --- a/router.php +++ b/router.php @@ -65,7 +65,7 @@ if (isset($_COOKIE[SESSION_COOKIE_NAME])) if (isset($_SESSION['id'])) { if (!isset(query('select', 'users', ['id' => $_SESSION['id']], 'id')[0])) - output(403, _('This account doesn\'t exist anymore. Log out to end this ghost session.')); + logout(); // Decrypt display username if (!isset($_COOKIE['display-username-decryption-key']))