[bugfix] Increase field size limits when registering apps (#958)

This commit is contained in:
tobi 2022-11-05 11:06:50 +01:00 committed by GitHub
parent ee6a0a1e15
commit a9addb59b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ import (
// these consts are used to ensure users can't spam huge entries into our database
const (
formFieldLen = 64
formRedirectLen = 512
formFieldLen = 1024
formRedirectLen = 2056
)
// AppsPOSTHandler swagger:operation POST /api/v1/apps appCreate