From 9656973f9a036f69c50bff64b1c984240a9e4e71 Mon Sep 17 00:00:00 2001 From: azammitdcarf Date: Thu, 26 Feb 2009 06:52:34 +0000 Subject: [PATCH] Automatically log in to limesurvey --- include/limesurvey/config.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/include/limesurvey/config.php b/include/limesurvey/config.php index da292685..48e38c32 100644 --- a/include/limesurvey/config.php +++ b/include/limesurvey/config.php @@ -61,4 +61,23 @@ $siteadminname = "Your Name"; // The name of the site administrator $defaultlang = DEFAULT_LOCALE; +$useWebserverAuth = true; + +$WebserverAuth_autocreateUser = true; + +$WebserverAuth_autouserprofile = Array( + 'full_name' => 'autouser', + 'email' => $siteadminemail, + 'lang' => DEFAULT_LOCALE, + 'htmleditormode' => $defaulthtmleditormode, + 'templatelist' => 'default,basic', + 'create_survey' => 1, + 'create_user' => 1, + 'delete_user' => 1, + 'superadmin' => 1, + 'configurator' => 1, + 'manage_template' => 1, + 'manage_label' => 1); + + ?>