Rename api key prefixes for better clarity (#1650)

This commit is contained in:
Boy132 2025-09-04 08:43:06 +02:00 committed by GitHub
parent 02f788a659
commit 3543b4773a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -216,7 +216,7 @@ class ApiKey extends PersonalAccessToken
{ {
Assert::oneOf($type, [self::TYPE_ACCOUNT, self::TYPE_APPLICATION]); Assert::oneOf($type, [self::TYPE_ACCOUNT, self::TYPE_APPLICATION]);
return $type === self::TYPE_ACCOUNT ? 'plcn_' : 'peli_'; return $type === self::TYPE_ACCOUNT ? 'pacc_' : 'papp_';
} }
/** /**