From 71c09034319648a92546a90cf71b125dc90bc553 Mon Sep 17 00:00:00 2001 From: Kload Date: Thu, 17 Apr 2014 16:27:42 +0200 Subject: [PATCH] [fix] Add some default values --- access.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/access.lua b/access.lua index a417d88..cde9afc 100644 --- a/access.lua +++ b/access.lua @@ -37,6 +37,7 @@ end default_conf = { portal_scheme = "https", portal_path = "/ssowat", + domains = { conf["portal_domain"] }, session_timeout = 60 * 60 * 24, -- one day session_max_timeout = 60 * 60 * 24 * 7, -- one week login_arg = "sso_login", @@ -44,7 +45,8 @@ default_conf = { ldap_group = "ou=users,dc=yunohost,dc=org", ldap_identifier = "uid", ldap_attributes = {"uid", "givenname", "sn", "cn", "homedirectory", "mail", "maildrop"}, - allow_mail_authentication = true + allow_mail_authentication = true, + additional_headers = { Remote-user = "uid" } } for param, default_value in pairs(default_conf) do