From 1c77564e9f71ce771c232a44ae7809f30f2af8d3 Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Sat, 1 Jun 2013 10:40:28 +0200 Subject: [PATCH] Update yunohost_tools.py --- yunohost_tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yunohost_tools.py b/yunohost_tools.py index 79e29fad..b4f7a5e5 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -117,6 +117,7 @@ def tools_maindomain(old_domain, new_domain): "$tmp->{'domain'} = '"+ new_domain +"';", # Replace Lemon domain "$tmp->{'ldapBase'} = 'dc=yunohost,dc=org';", # Set ldap basedn "$tmp->{'portal'} = 'https://"+ new_domain +"/sso/';", # Set SSO url + "$tmp->{'locationRules'}->{'"+ new_domain +"'}->{'(?#0ynh_admin)^/ynh_admin/'} = '$uid eq \"admin\"'; ] with open(lemon_tmp_conf,'a') as lemon_conf: