mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-07 15:29:21 +00:00
Fix: Allow DRF to validate the maximum API key length (#13614)
This commit is contained in:
1 parent
b0e0e8a353
commit
17dc482872
1 file changed
+1
@@ -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