[BUGFIX] Do not ask for current password if admin 52/52552/3
authorMarkus Klein <markus.klein@typo3.org>
Fri, 21 Apr 2017 20:29:43 +0000 (22:29 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 22 Apr 2017 08:44:36 +0000 (10:44 +0200)
commitf885b33c56d8ffe7f3216dfd2a74ff5beebc62a8
tree0dc9d01d8cc95c7ad65d7416ae5ab5cc174a0e7b
parent3aa3522a1940d069d9c46b4f9a7655dd4bf5e2fb
[BUGFIX] Do not ask for current password if admin

Hide the field for the current password, if the current user is
admin anyway. If the admin changes the password for someone else
he/she doesn't know the current password of this person anyway.

Besides that, a password can always be changed without providing
a current password by an admin using the BE users module.

Resolves: #80951
Releases: master, 8.7, 7.6
Change-Id: Ic9673197e651df5d1fe5886c4b6f6f76a303062f
Reviewed-on: https://review.typo3.org/52552
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/setup/Classes/Controller/SetupModuleController.php