From 9b3eea1713c1b68463555b3d25f909faf9163f4d Mon Sep 17 00:00:00 2001 From: mjansen Date: Wed, 18 Sep 2024 12:57:10 +0200 Subject: [PATCH] Auth: Don't transform login form password See: https://mantis.ilias.de/view.php?id=42097 (cherry picked from commit 13bd243ad8941bd21e5fda7499e387ff8465f3b2) --- components/ILIAS/Init/classes/class.ilStartUpGUI.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/ILIAS/Init/classes/class.ilStartUpGUI.php b/components/ILIAS/Init/classes/class.ilStartUpGUI.php index 472f09a81555..cc1c9dad0c96 100755 --- a/components/ILIAS/Init/classes/class.ilStartUpGUI.php +++ b/components/ILIAS/Init/classes/class.ilStartUpGUI.php @@ -116,7 +116,12 @@ private function mergeValuesTrafo(): ILIAS\Refinery\Transformation private function saniziteArrayElementsTrafo(): ILIAS\Refinery\Transformation { return $this->refinery->custom()->transformation(static function (array $values): array { - return ilArrayUtil::stripSlashesRecursive($values); + $processed_values = array_merge( + ilArrayUtil::stripSlashesRecursive($values), + isset($values[self::PROP_PASSWORD]) ? [self::PROP_PASSWORD => $values[self::PROP_PASSWORD]] : [] + ); + + return $processed_values; }); }