Alexandre Alapetite 6 years ago committed by GitHub
parent 707388c093
commit e84a90943a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/Models/Auth.php

@ -13,7 +13,7 @@ class FreshRSS_Auth {
* This method initializes authentication system.
*/
public static function init() {
if (Minz_Session::param('REMOTE_USER', '') !== httpAuthUser()) {
if (isset($_SESSION['REMOTE_USER']) && $_SESSION['REMOTE_USER'] !== httpAuthUser()) {
//HTTP REMOTE_USER has changed
self::removeAccess();
}

Loading…
Cancel
Save