Browse Source

remove httponly for plex token cookie to test for synclounge

CauseFX 6 years ago
parent
commit
7b5c057b2e
1 changed files with 1 additions and 1 deletions
  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);