Reinsert keyvalidate
This commit is contained in:
@@ -58,6 +58,19 @@ class Hookmanager
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private function keyValidate($keyFromURI)
|
||||||
|
{
|
||||||
|
// FIXME: Theoretically, this method does not work.
|
||||||
|
// TODO: Devise a new way to validate keys without user ID
|
||||||
|
if($this->APITools->keysMatch($keyFromURI))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user