Explorar o código

remove httponly for plex token cookie to test for synclounge

CauseFX %!s(int64=6) %!d(string=hai) anos
pai
achega
7b5c057b2e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api/functions/sso-functions.php

+ 1 - 1
api/functions/sso-functions.php

@@ -3,7 +3,7 @@ function ssoCheck($username, $password, $token = null)
 {
 	$test = '';
 	if ($GLOBALS['ssoPlex'] && $token) {
-		coookie('set', 'mpt', $token, $GLOBALS['rememberMeDays']);
+		coookie('set', 'mpt', $token, $GLOBALS['rememberMeDays'], false);
 	}
 	if ($GLOBALS['ssoOmbi']) {
 		$ombiToken = getOmbiToken($username, $password, $token);