Commit 1a92df05 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Merge branch 'master' of gitlab.ow2.org:lemonldap-ng/lemonldap-ng

parents 73e339c1 1f215987
Pipeline #2829 failed with stages
in 4 minutes and 3 seconds
......@@ -197,17 +197,17 @@ sub _buildAuthLoop {
"Display type $displayType for module $auth");
$optionsLoop->{$displayType} = 1;
# If displayType is logo, check if key.png is available
# TODO:
#if (
# -e $self->getApacheHtdocsPath . "/skins/common/" . $_ . ".png" )
#{
# $optionsLoop->{logoFile} = $_ . ".png";
#}
#else {
$optionsLoop->{logoFile} = $auth . ".png";
#}
# If displayType is logo, check if key.png is available
if ( -e $self->conf->{templateDir}
. "/../htdocs/static/common/modules/"
. $_
. ".png" )
{
$optionsLoop->{logoFile} = $_ . ".png";
}
else {
$optionsLoop->{logoFile} = $auth . ".png";
}
# Register item in loop
push @authLoop, $optionsLoop;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment