diff options
| author | 2016-12-24 17:33:11 +0100 | |
|---|---|---|
| committer | 2016-12-24 17:33:11 +0100 | |
| commit | eded4937966340130834308a298123f9c7fa7508 (patch) | |
| tree | f2c28cf4fcb8eb90a1070e3a3a42cfb287fa91ca /app/Models/Auth.php | |
| parent | 02ac8d563db25aea8f7ec983b67061129536d457 (diff) | |
| parent | f25e2ba41217632121f5226751b5430f487fcdf9 (diff) | |
Merge pull request #1398 from Alkarex/MultipleCookiesBug
Send cookie FreshRSS_login only once
Diffstat (limited to 'app/Models/Auth.php')
| -rw-r--r-- | app/Models/Auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Auth.php b/app/Models/Auth.php index 042210eaf..b3255cfbd 100644 --- a/app/Models/Auth.php +++ b/app/Models/Auth.php @@ -238,8 +238,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'); } |
