summaryrefslogtreecommitdiffstats
path: root/modules/auth/user_form.go
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2016-11-07 17:55:31 +0100
committerSandro Santilli <strk@kbt.io>2016-11-07 17:55:31 +0100
commitb7bf9dfd285a5d64bfcd6a3148c646f03984e594 (patch)
treef999abb0abee4e69fe57c2bb30ac23fdecab75b4 /modules/auth/user_form.go
parentaadd7dcdc317c5e1665318b537162749514ac212 (diff)
downloadgitea-b7bf9dfd285a5d64bfcd6a3148c646f03984e594.tar.gz
gitea-b7bf9dfd285a5d64bfcd6a3148c646f03984e594.zip
more
Diffstat (limited to 'modules/auth/user_form.go')
-rw-r--r--modules/auth/user_form.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/auth/user_form.go b/modules/auth/user_form.go
index 7bd6c7b9bc..09ef53db8f 100644
--- a/modules/auth/user_form.go
+++ b/modules/auth/user_form.go
@@ -101,8 +101,8 @@ func (f *UpdateProfileForm) Validate(ctx *macaron.Context, errs binding.Errors)
}
const (
- AVATAR_LOCAL string = "local"
- AVATAR_BYMAIL string = "bymail"
+ AvatarLocal string = "local"
+ AvatarByMail string = "bymail"
)
type AvatarForm struct {