mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
Add back auto deploy (#627)
* Add Docker, Refactor, Fix Notification Co-authored-by: notCharles <charles@pelican.dev> * Pint * Required adjustments * Remove deprecated * Third time's the charm --------- Co-authored-by: notCharles <charles@pelican.dev>
This commit is contained in:
@@ -29,7 +29,7 @@ class ApiKeyController extends ClientApiController
|
||||
*/
|
||||
public function store(StoreApiKeyRequest $request): array
|
||||
{
|
||||
if ($request->user()->apiKeys->count() >= 25) {
|
||||
if ($request->user()->apiKeys->count() >= config('panel.api.key_limit')) {
|
||||
throw new DisplayException('You have reached the account limit for number of API keys.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user