aboutsummaryrefslogtreecommitdiff
path: root/utils/auth
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-06 02:21:44 -0500
committerUnknown <joe2010xtmf@163.com>2014-03-06 02:21:44 -0500
commitc6f2c23b05474d80ea282a7683135b3ea8f8e2d9 (patch)
tree83054b7cb334ffbfbeadc688bf853fa0916696d3 /utils/auth
parente59f90b8fee3e615d1b60067bfc0d636606899d8 (diff)
Add binding form for register user
Diffstat (limited to 'utils/auth')
-rw-r--r--utils/auth/auth.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/utils/auth/auth.go b/utils/auth/auth.go
deleted file mode 100644
index 10991034..00000000
--- a/utils/auth/auth.go
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright 2014 The Gogs Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
-
-package auth
-
-import (
- "fmt"
-
- "github.com/gogits/validation"
-)
-
-func GenerateErrorMsg(e *validation.ValidationError) string {
- return fmt.Sprintf("%v", e.LimitValue)
-}