|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
my $auth = ${'tt-rss'}{'Authentication'} || 'http'; |
|
|
|
|
my $remote = ($auth eq 'internal') ? 'false':'true'; |
|
|
|
|
my $authModule = ($auth eq 'internal') ? 'internal':'remote'; |
|
|
|
|
my $multi = ((${'tt-rss'}{'MultiUser'} || 'enabled') eq 'enabled') ? 'false':'true'; |
|
|
|
|
|
|
|
|
|
$OUT .=<<"HERE"; |
|
|
|
@ -10,7 +10,7 @@ $OUT .=<<"HERE"; |
|
|
|
|
// Operate in single user mode, disables all functionality related to |
|
|
|
|
// multiple users. |
|
|
|
|
|
|
|
|
|
define('ALLOW_REMOTE_USER_AUTH',$remote); |
|
|
|
|
define('AUTH_MODULES',$authModule); |
|
|
|
|
// Set to 'true' if you trust your web server's REMOTE_USER |
|
|
|
|
// environment variable to validate that the user is logged in. This |
|
|
|
|
// option can be used to integrate tt-rss with Apache's external |
|
|
|
@ -19,12 +19,12 @@ $OUT .=<<"HERE"; |
|
|
|
|
HERE |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
define('AUTO_CREATE_USER',true); |
|
|
|
|
define('AUTH_AUTO_CREATE',true); |
|
|
|
|
// If users are authenticated by your web server, set this to true if |
|
|
|
|
// You want new users to be automaticaly created in tt-rss database |
|
|
|
|
// on first login |
|
|
|
|
|
|
|
|
|
define('AUTO_LOGIN',true); |
|
|
|
|
define('AUTH_AUTO_LOGIN',true); |
|
|
|
|
// 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 select |
|
|
|
|
// profile |
|
|
|
|