[BUGFIX] BE User module allows switching to CLI users
authorAndreas Wolf <andreas.wolf@ikt-werk.de>
Fri, 8 Jul 2011 22:59:31 +0000 (00:59 +0200)
committerAndreas Wolf <andreas.wolf@ikt-werk.de>
Sat, 9 Jul 2011 14:40:21 +0000 (16:40 +0200)
commit9260808c5451591e445243f3f13bf4af844a96a3
tree889018919945af9ad977813789e8eab03772a60d
parent61803065250d5220bed5685cf38cac37f020edd4
[BUGFIX] BE User module allows switching to CLI users

The backend user module shows two icons to switch to a given user (with
and without possibility to go back). This is also enabled for CLI users,
which can effectively render the session unusable.

This patch removes the icons if the username starts with _cli_

Change-Id: Ia8f027de8056a1d29cf240dc66588a23347475cd
Resolves: #28008
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/3163
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Andreas Wolf
Tested-by: Andreas Wolf
typo3/sysext/beuser/mod/index.php