From dedaebbc316f6c062e51ab0f67b060a77f859275 Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Sat, 1 Jun 2013 11:00:35 +0200 Subject: [PATCH] Update yunohost_tools.py --- yunohost_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yunohost_tools.py b/yunohost_tools.py index 4c2376ce..cb0789e5 100644 --- a/yunohost_tools.py +++ b/yunohost_tools.py @@ -118,7 +118,7 @@ def tools_maindomain(old_domain, new_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\"';", - "$tmp->{'locationRules'}->{'"+ new_domain +"'}->{'(?#1ynh_user)^/ynh-user/'} = '$uid ne \"admin\"';" + "$tmp->{'locationRules'}->{'"+ new_domain +"'}->{'(?#0ynh_user)^/ynh-user/'} = '$uid ne \"admin\"';" ] with open(lemon_tmp_conf,'a') as lemon_conf: