From 4c7b6414eb91d12473ee0000bc3fccfd105feef9 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 19 Aug 2015 03:36:16 +0800 Subject: new access token UI --- modules/auth/user_form.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/auth/user_form.go') 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 { -- cgit v1.2.3