[BUGFIX] Cleanly unset cookies on login in cookie-check 71/25871/2
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Sun, 1 Dec 2013 17:53:08 +0000 (18:53 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Thu, 12 Dec 2013 11:45:55 +0000 (12:45 +0100)
commitd3e94945cbeb735fa9751eae37d2925795f63d7a
tree5e8e428a5bfe88a653e13859f4573852895f5e4e
parentbeec43fe55ab479f9d769232c20f1118f4f85a2c
[BUGFIX] Cleanly unset cookies on login in cookie-check

Needed to workaround a login-problem with IE11.

ExtJS tries to clear a cookie with different settings than when
setting the cookie. In IE11 this leads to problems with the cookie
being set twice on the next call to set(). The get() however
would return the first (empty) cookie.

Using set() with a date in the past also clears the cookie but
will correctly use the same path-settings.

Change-Id: Ieff22129895cd89ca2e1429703daf1636596ecb6
Resolves: #53818
Releases: 6.2, 6.1, 6.0, 4.7, 4.5
Reviewed-on: https://review.typo3.org/25871
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Steffen Ritter
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/t3skin/resources/login.js