Reinsert keyvalidate

This commit is contained in:
Miguel Nogueira 2018-06-08 14:46:18 +00:00
parent 25f604fcb1
commit d9de58abdf
1 changed files with 13 additions and 0 deletions

View File

@ -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;
}
}
/**
*