mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-09 11:21:19 +01:00
Merge pull request 'Fix required error for token name' (#1716) from Gusted/forgejo:forgejo-token-name-required into forgejo-dependency
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1716
This commit is contained in:
commit
e366f40c2f
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ func (f *EditVariableForm) Validate(req *http.Request, errs binding.Errors) bind
|
|||
|
||||
// NewAccessTokenForm form for creating access token
|
||||
type NewAccessTokenForm struct {
|
||||
Name string `binding:"Required;MaxSize(255)"`
|
||||
Name string `binding:"Required;MaxSize(255)" locale:"settings.token_name"`
|
||||
Scope []string
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue