summaryrefslogtreecommitdiffstats
path: root/modules/auth/auth.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-13 03:39:18 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-13 03:39:18 -0400
commit57bc2d1ca0bfc3ba90e6d85309dba39415c6db73 (patch)
tree8d452408dbc3f89ac3a0a393ad5eadd80370f167 /modules/auth/auth.go
parentadedd9181c07ed926bf5835623293df4fcc706d2 (diff)
downloadgitea-57bc2d1ca0bfc3ba90e6d85309dba39415c6db73.tar.gz
gitea-57bc2d1ca0bfc3ba90e6d85309dba39415c6db73.zip
Add update user profile back end, add new gitignore and license, add template data to public profile page
Diffstat (limited to 'modules/auth/auth.go')
-rw-r--r--modules/auth/auth.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/auth/auth.go b/modules/auth/auth.go
index e4748650c2..b085527554 100644
--- a/modules/auth/auth.go
+++ b/modules/auth/auth.go
@@ -90,11 +90,6 @@ func (f *LogInForm) Validate(errors *binding.Errors, req *http.Request, context
validate(errors, data, f)
}
-type FeedsForm struct {
- UserId int64 `form:"userid" binding:"Required"`
- Offset int64 `form:"offset"`
-}
-
func getMinMaxSize(field reflect.StructField) string {
for _, rule := range strings.Split(field.Tag.Get("binding"), ";") {
if strings.HasPrefix(rule, "MinSize(") || strings.HasPrefix(rule, "MaxSize(") {