From 5178ab93a6a5190de9fa6e8cb1d6a3db405a8bd8 Mon Sep 17 00:00:00 2001 From: Michael Oehlhof <typo3@oehlhof.de> Date: Sun, 30 Oct 2016 00:12:24 +0200 Subject: [PATCH] [BUGFIX] Prevent adding a backend user without password Resolves: #78411 Releases: master, 7.6 Change-Id: I47273726595639621c988910a537b205f49be13c Reviewed-on: https://review.typo3.org/50454 Tested-by: TYPO3com <no-reply@typo3.com> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> --- typo3/sysext/rsaauth/Classes/Form/Element/RsaInputElement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/rsaauth/Classes/Form/Element/RsaInputElement.php b/typo3/sysext/rsaauth/Classes/Form/Element/RsaInputElement.php index e4167ed5a26a..3faf58794c69 100644 --- a/typo3/sysext/rsaauth/Classes/Form/Element/RsaInputElement.php +++ b/typo3/sysext/rsaauth/Classes/Form/Element/RsaInputElement.php @@ -70,7 +70,7 @@ class RsaInputElement extends AbstractFormElement break; case 'password': $attributes['type'] = 'password'; - $attributes['value'] = '********'; + $attributes['value'] = $parameterArray['itemFormElValue'] ? '*********' : ''; $attributes['autocomplete'] = 'new-' . $fieldName; break; default: -- GitLab