mirror of
https://github.com/go-gitea/gitea
synced 2025-08-11 12:08:21 +00:00
This commit is contained in:
committed by
Lunny Xiao
parent
50adbb7134
commit
5f169bfcfd
@@ -182,7 +182,7 @@ func (f *AddKeyForm) Validate(ctx *macaron.Context, errs binding.Errors) binding
|
||||
|
||||
// NewAccessTokenForm form for creating access token
|
||||
type NewAccessTokenForm struct {
|
||||
Name string `binding:"Required"`
|
||||
Name string `binding:"Required;MaxSize(255)"`
|
||||
}
|
||||
|
||||
// Validate valideates the fields
|
||||
|
Reference in New Issue
Block a user