A free, self-hostable news aggregator…
Send cookie FreshRSS_login only once
Alexandre Alapetite0150aec07ead
diff --git a/app/Models/Auth.php b/app/Models/Auth.phpindex 3313fdf3f..e517e9b2c 100644--- a/app/Models/Auth.php+++ b/app/Models/Auth.php@@ -236,8 +236,8 @@ class FreshRSS_FormAuth {public static function deleteCookie() {$token = Minz_Session::getLongTermCookie('FreshRSS_login');- Minz_Session::deleteLongTermCookie('FreshRSS_login');if (ctype_alnum($token)) {+ Minz_Session::deleteLongTermCookie('FreshRSS_login');@unlink(DATA_PATH . '/tokens/' . $token . '.txt');}