/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakedc/auth/src/Authenticator
NameSizeModeActions
CookieAuthenticator.php19770644editdlrm
FormAuthenticator.php47660644editdlrm
SocialAuthenticator.php42140644editdlrm
TwoFactorAuthenticator.php31570644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakedc/auth/src/Authenticator/CookieAuthenticator.php (1977B)
getConfig('rememberMeField'); $bodyData = $request->getParsedBody(); if (empty($bodyData)) { /** * @var \Cake\Http\Session $session */ $session = $request->getAttribute('session'); $bodyData = $session->read(self::SESSION_DATA_KEY); $session->delete(self::SESSION_DATA_KEY); } if (!$this->_checkUrl($request) || !is_array($bodyData) || empty($bodyData[$field])) { return [ 'request' => $request, 'response' => $response, ]; } $value = $this->_createToken($identity); $cookie = $this->_createCookie($value); return [ 'request' => $request, 'response' => $response->withAddedHeader('Set-Cookie', $cookie->toHeaderValue()), ]; } }