mirror of https://github.com/usual2970/certimate
fix: #523
parent
7e4aa24459
commit
09b1bf6e2d
|
@ -28,7 +28,7 @@ const AccessFormGcoreConfig = ({ form: formInst, formName, disabled, initialValu
|
|||
apiToken: z
|
||||
.string()
|
||||
.min(1, t("access.form.gcore_api_token.placeholder"))
|
||||
.max(64, t("common.errmsg.string_max", { max: 64 }))
|
||||
.max(256, t("common.errmsg.string_max", { max: 256 }))
|
||||
.trim(),
|
||||
});
|
||||
const formRule = createSchemaFieldRule(formSchema);
|
||||
|
|
Loading…
Reference in New Issue