Skip to content

Commit d3a4397

Browse files
authored
Fix supported prefix for API token validation
1 parent 04d40ac commit d3a4397

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pterodactyl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ private function ensureValidToken(string $token): void
279279
throw new InvalidArgumentException('API key must not be empty');
280280
}
281281

282-
$supportedPrefixes = ['ptlc_', 'papp_'];
282+
$supportedPrefixes = ['ptlc_', 'pacc_'];
283283

284284
foreach ($supportedPrefixes as $prefix) {
285285
if (str_starts_with($token, $prefix)) {

0 commit comments

Comments
 (0)