[BUGFIX] Clear inputs when switching between OpenID and normal login 80/38680/4
authorChristian Weiske <christian.weiske@netresearch.de>
Tue, 14 Apr 2015 06:50:27 +0000 (08:50 +0200)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Wed, 15 Apr 2015 09:29:10 +0000 (11:29 +0200)
commit80e4e4a8a84aee1ac85c94b64acc97cac0b27c45
treebaf299587c7753d8f5a60e4260241bf131f0fad8
parent4a2014432ef81411c156d0703332ab4d6521be66
[BUGFIX] Clear inputs when switching between OpenID and normal login

Browsers auto-fill username + password, and when switching to
OpenID login those fields were still submitted and used to log
into TYPO3.

By clearing them unconditionally, we're sure that they do not get
used to log the user into TYPO3.

Change-Id: Ief908829826c65345f034e0763cbbd845452907c
Fixes: #66404
Releases: master
Reviewed-on: http://review.typo3.org/38680
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/backend/Resources/Public/JavaScript/Login.js