From 8cc7eec3dd112d89e2ff3a8e57a6fda2f90084b6 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 30 Jul 2014 10:29:26 +0200 Subject: [PATCH] Allow any valid user to access phplist, the admin will need to create them anyway in the database --- root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98phplist | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98phplist b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98phplist index b5b22d4..d5e751f 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98phplist +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98phplist @@ -5,15 +5,13 @@ my $access = $phplist{'access'} || 'private'; my $auth = $phplist{'Authentication'} || 'http'; my $alias = $phplist{'AliasOnPrimary'} || 'enabled'; my $ver = $sysconfig{'ReleaseVersion'} || '8.1'; -my @users = split(/[;,]/, ($phplist{'AdminUsers'} || 'admin')); -my $users = join(' ', @users); my $allow = ( $access eq 'public' ) ? 'all' : "$localAccess $externalSSLAccess"; $alias = ($alias ne 'enabled') ? '' : 'Alias /lists /usr/share/phplist/www/'; $auth = ( $auth eq 'http' ) ? 'AuthName "phplist"' . "\n" . " AuthType Basic\n" . " AuthExternal pwauth\n" . (($ver =~ m/^9/) ? " AuthBasicProvider external\n":'') . - " require user $users\n" : ''; + " require valid-user\n" : ''; if ($status eq 'enabled') { $OUT .=<<"EOF";