[BUGFIX] Do not ask for current password if admin 56/52556/2
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 09:24:58 +0000 (11:24 +0200)
commitf9fbc3a678f6783b33bb2c9e72eed355545514fd
tree23e319d171093cda1f49756f818e1a876593f320
parent5cd88a38ae8cf69569c037e9fae26973221058d7
[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/52556
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/setup/Classes/Controller/SetupModuleController.php