Catch DL logouts and redirect to the portal

This commit is contained in:
Daniel Berteaud 2015-01-06 11:39:44 +01:00
parent b4e763109f
commit 8c7c1a5084
1 changed files with 1 additions and 0 deletions

View File

@ -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"});