[TASK] Only set FE user cookie if session data or user logged in
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Classes / Controller / TypoScriptFrontendController.php
index 2ce0117..6b6d3c6 100644 (file)
@@ -929,9 +929,6 @@ class TypoScriptFrontendController {
                                unset($cookieName);
                        }
                }
                                unset($cookieName);
                        }
                }
-               if ($this->TYPO3_CONF_VARS['FE']['dontSetCookie']) {
-                       $this->fe_user->dontSetCookie = 1;
-               }
                $this->fe_user->start();
                $this->fe_user->unpack_uc('');
                // Gets session data
                $this->fe_user->start();
                $this->fe_user->unpack_uc('');
                // Gets session data