1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:45:56 +00:00

only use autologin with SSL certificate when AUTO_LOGIN is enabled, otherwise redirect to login form as with remote auth

This commit is contained in:
Andrew Dolgov
2011-03-28 13:03:43 +04:00
parent a4cd9d58ff
commit bf9fc06072
3 changed files with 16 additions and 21 deletions

View File

@@ -133,9 +133,12 @@
// used to integrate tt-rss with Apache's external authentication modules.
define('AUTO_LOGIN', false);
// Set this to true if you use ALLOW_REMOTE_USER_AUTH and you want
// to skip the login form. If set to true, users won't be able to
// set application language and settings profile.
// Set this to true if you use ALLOW_REMOTE_USER_AUTH or client SSL
// certificate authentication and you want to skip the login form.
// If set to true, users won't be able to set application language
// and settings profile.
// Otherwise users will be redirected to login form with their login
// information pre-filled.
define('LOCK_DIRECTORY', 'lock');
// Directory for lockfiles, must be writable to the user you run