Skip to content

Commit 10d83e3

Browse files
add min length
1 parent 1371e7d commit 10d83e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apisix/plugins/jwt-auth.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ local schema = {
5151
},
5252
key_claim_name = {
5353
type = "string",
54-
default = "key"
54+
default = "key",
55+
minLength = "1",
5556
},
5657
},
5758
}

0 commit comments

Comments
 (0)