* Check auth.

This commit is contained in:
zhujinyong
2022-01-05 09:05:32 +08:00
parent 087cc82369
commit ff9ceaccad
11 changed files with 449 additions and 99 deletions
+2 -2
View File
@@ -232,10 +232,10 @@ class gitlab extends control
/**
* Check post token has admin permissions.
*
* @access public
* @access protected
* @return void
*/
public function checkToken()
protected function checkToken()
{
$gitlabURL = trim($this->post->url);
$token = trim($this->post->token);