소스 검색

remove httponly for plex token cookie to test for synclounge

CauseFX 6 년 전
부모
커밋
7b5c057b2e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);