diff options
author | Unknwon <u@gogs.io> | 2015-08-19 03:36:16 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-19 03:36:16 +0800 |
commit | 4c7b6414eb91d12473ee0000bc3fccfd105feef9 (patch) | |
tree | fcba9eec9c31d4c77cb69b4afaa0eecac2d94e7c /modules/auth/user_form.go | |
parent | 2e8ffc2ffb31379998142e807f0066d5d9846c2c (diff) | |
download | gitea-4c7b6414eb91d12473ee0000bc3fccfd105feef9.tar.gz gitea-4c7b6414eb91d12473ee0000bc3fccfd105feef9.zip |
new access token UI
Diffstat (limited to 'modules/auth/user_form.go')
-rw-r--r-- | modules/auth/user_form.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go index 72db6d59c2..709271a929 100644 --- a/modules/auth/user_form.go +++ b/modules/auth/user_form.go @@ -135,7 +135,7 @@ func (f *AddSSHKeyForm) Validate(ctx *macaron.Context, errs binding.Errors) bind } type NewAccessTokenForm struct { - Name string `form:"name" binding:"Required"` + Name string `binding:"Required"` } func (f *NewAccessTokenForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors { |