ttrss: fix authentication

This commit is contained in:
Gabriel Ebner 2016-06-19 09:53:21 +02:00
parent 5727c9ea04
commit c1efcbeacf
2 changed files with 4 additions and 8 deletions

@ -28,10 +28,6 @@
password = "ttrss";
};
auth = {
autoLogin = false;
};
selfUrlPath = "https://reader.gebner.org/";
};

@ -40,15 +40,15 @@ let
define('DB_PASS', '${escape ["'" "\\"] cfg.database.password}');
define('DB_PORT', '${toString dbPort}');
define('AUTH_AUTO_CREATE', '${boolToString cfg.auth.autoCreate}');
define('AUTH_AUTO_LOGIN', '${boolToString cfg.auth.autoLogin}');
define('AUTH_AUTO_CREATE', ${boolToString cfg.auth.autoCreate});
define('AUTH_AUTO_LOGIN', ${boolToString cfg.auth.autoLogin});
define('FEED_CRYPT_KEY', '${escape ["'" "\\"] cfg.feedCryptKey}');
define('SINGLE_USER_MODE', '${boolToString cfg.singleUserMode}');
define('SINGLE_USER_MODE', ${boolToString cfg.singleUserMode});
define('SIMPLE_UPDATE_MODE', '${boolToString cfg.simpleUpdateMode}');
define('SIMPLE_UPDATE_MODE', ${boolToString cfg.simpleUpdateMode});
define('CHECK_FOR_UPDATES', ${boolToString cfg.checkForUpdates});
define('FORCE_ARTICLE_PURGE', ${toString cfg.forceArticlePurge});