temporal change to disable session validation on aouth validation
This commit is contained in:
1634
apiary.apib
1634
apiary.apib
File diff suppressed because it is too large
Load Diff
@@ -194,15 +194,15 @@ class Server implements iAuthenticate
|
||||
|
||||
// verify if the client is not our local PM Designer client
|
||||
if ($token['client_id'] != self::getPmClientId()) {
|
||||
return $allowed;
|
||||
// return $allowed;
|
||||
}
|
||||
|
||||
// making a local session verification for PM Web Designer Client
|
||||
if (! isset($_SESSION) || ! array_key_exists('USER_LOGGED', $_SESSION)) {
|
||||
return false;
|
||||
// return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
return $allowed;
|
||||
}
|
||||
|
||||
public static function setPmClientId($clientId)
|
||||
@@ -224,4 +224,4 @@ class Server implements iAuthenticate
|
||||
{
|
||||
return self::$userId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user