mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-08-08 20:03:18 +00:00
Fix: Allow DRF to validate the maximum API key length (#13614)
This commit is contained in:
@@ -217,6 +217,7 @@ class ApplicationConfigurationSerializer(
|
||||
llm_api_key = ObfuscatedPasswordField(
|
||||
required=False,
|
||||
allow_null=True,
|
||||
max_length=1024,
|
||||
)
|
||||
|
||||
def run_validation(self, data):
|
||||
|
||||
Reference in New Issue
Block a user