temporal change to disable session validation on aouth validation

This commit is contained in:
Erik Amaru Ortiz
2013-11-21 16:37:06 -04:00
parent 5e668224ff
commit 721395cffa
2 changed files with 1617 additions and 25 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -194,15 +194,15 @@ class Server implements iAuthenticate
// verify if the client is not our local PM Designer client // verify if the client is not our local PM Designer client
if ($token['client_id'] != self::getPmClientId()) { if ($token['client_id'] != self::getPmClientId()) {
return $allowed; // return $allowed;
} }
// making a local session verification for PM Web Designer Client // making a local session verification for PM Web Designer Client
if (! isset($_SESSION) || ! array_key_exists('USER_LOGGED', $_SESSION)) { if (! isset($_SESSION) || ! array_key_exists('USER_LOGGED', $_SESSION)) {
return false; // return false;
} }
return true; return $allowed;
} }
public static function setPmClientId($clientId) public static function setPmClientId($clientId)