refactor: Update token length validation to allow names up to 100 characters.
This commit is contained in:
parent
1e413e086f
commit
dce182e748
@ -171,7 +171,7 @@ func UpdateToken(c *gin.Context) {
|
||||
})
|
||||
return
|
||||
}
|
||||
if len(token.Name) > 30 {
|
||||
if len(token.Name) > 100 {
|
||||
c.JSON(http.StatusOK, gin.H{
|
||||
"success": false,
|
||||
"message": "令牌名称过长",
|
||||
|
Loading…
Reference in New Issue
Block a user