Commit f188426f authored by Christophe Maudoux's avatar Christophe Maudoux 🐛
Browse files

Fix custom function parameter (#1956)

parent 4179fc87
...@@ -135,7 +135,7 @@ sub run { ...@@ -135,7 +135,7 @@ sub run {
eval "require Lemonldap::NG::Portal::$1"; eval "require Lemonldap::NG::Portal::$1";
$self->logger->debug("Unable to load decrypt module: $@") $self->logger->debug("Unable to load decrypt module: $@")
if ($@); if ($@);
$decryptedValue = eval "$_()" unless ($@); $decryptedValue = eval "$_". '($cipheredValue)' unless ($@);
$self->logger->debug( $self->logger->debug(
$@ $@
? "Unable to eval decrypt function: $@" ? "Unable to eval decrypt function: $@"
......
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