style(legacy): format files (#1946)
This commit is contained in:
parent
eb19283d96
commit
4d393fa14e
66 changed files with 775 additions and 565 deletions
|
@ -5,7 +5,8 @@ class RestAuth
|
|||
public static function verifyAuth($checkApiKey, $checkSession, $action)
|
||||
{
|
||||
// Session takes precedence over API key for now:
|
||||
if ($checkSession && self::verifySession()
|
||||
if (
|
||||
$checkSession && self::verifySession()
|
||||
|| $checkApiKey && self::verifyAPIKey($action)
|
||||
) {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue