|
|
@@ -23,7 +23,7 @@ class OtAuthenticationService extends AbstractAuthenticationService
|
|
|
CONST LOGIN_URI = 'api/login_check';
|
|
|
CONST GET_USER_DATA_URI = 'api/user/datafortypo3';
|
|
|
CONST ISAUTH_URI = 'api/user/isauthenticated';
|
|
|
- CONST LOGOUT_URI = 'api/logout';
|
|
|
+ CONST LOGOUT_URI = 'logout';
|
|
|
CONST GROUP_FE_ALL_UID = 18076;
|
|
|
|
|
|
// Cookies' domain needs to be the same that the api's cookies, or guzzle will ignore them.
|
|
|
@@ -189,7 +189,7 @@ class OtAuthenticationService extends AbstractAuthenticationService
|
|
|
* Update the guzzle cookie jar with the current session's ones
|
|
|
*/
|
|
|
private function fillCookieJar() {
|
|
|
- foreach (['BEARER', 'SFSESSID'] as $cookieName) {
|
|
|
+ foreach (['BEARER', 'SFSESSID', 'AccessId'] as $cookieName) {
|
|
|
if (array_key_exists($cookieName, $_COOKIE)) {
|
|
|
$cookie = new SetCookie();
|
|
|
$cookie->setName($cookieName);
|