Catch DL logouts and redirect to the portal

tags/0.2.10_el5 0.2.10_el5
Daniel Berteaud 10 years ago
parent b4e763109f
commit 8c7c1a5084
  1. 1
      root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/035dl

@ -14,6 +14,7 @@ $conf->{'exportedHeaders'}->{"upload.$domain"} = {
} unless ($conf->{'exportedHeaders'}->{"upload.$domain"});
$conf->{'locationRules'}->{"upload.$domain"} = {
'(?#09logout)^/admin\\.php\\?u' => 'logout_app',
'(?#10Auth)^/(admin|rest)\\.php' => '$groups =~ /\\badmins|equipe\\b/',
'default' => 'unprotect'
} unless ($conf->{'locationRules'}->{"upload.$domain"});

Loading…
Cancel
Save