Reinsert keyvalidate
This commit is contained in:
parent
25f604fcb1
commit
d9de58abdf
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue