mirror of
https://github.com/pelican-dev/panel.git
synced 2025-09-08 22:18:46 +02:00
Rename api key prefixes for better clarity (#1650)
This commit is contained in:
parent
02f788a659
commit
3543b4773a
@ -216,7 +216,7 @@ class ApiKey extends PersonalAccessToken
|
||||
{
|
||||
Assert::oneOf($type, [self::TYPE_ACCOUNT, self::TYPE_APPLICATION]);
|
||||
|
||||
return $type === self::TYPE_ACCOUNT ? 'plcn_' : 'peli_';
|
||||
return $type === self::TYPE_ACCOUNT ? 'pacc_' : 'papp_';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user