index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
internal
/
form
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Joe Chen <jc@unknwon.io>
2022-11-27 19:36:10 +0800
committer
GitHub <noreply@github.com>
2022-11-27 19:36:10 +0800
commit
ae20d03aece78fb44dc1caaacfa40c3aa40c7949
(
patch
)
tree
7e7b33f99eae57d8426eeead443276d5cbe0dd5a
/
internal/form
parent
44333afd20a6312b617e0c33a497a4385ba3a250
(
diff
)
refactor(db): migrate `UpdateUser` off `user.go` (#7267)
Diffstat
(limited to 'internal/form')
-rw-r--r--
internal/form/user.go
4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/form/user.go b/internal/form/user.go
index 539dfd98..fee0569d 100644
--- a/
internal/form/user.go
+++ b/
internal/form/user.go
@@ -104,8 +104,8 @@ func (f *UpdateProfile) Validate(ctx *macaron.Context, errs binding.Errors) bind
}
const (
- AVATAR_LOCAL string = "local"
- AVATAR_BYMAIL string = "bymail"
+ AvatarLocal string = "local"
+ AvatarLookup string = "lookup"
)
type Avatar struct {