summaryrefslogtreecommitdiffstats
path: root/models/user.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-06-01 21:47:48 -0400
committerUnknown <joe2010xtmf@163.com>2014-06-01 21:47:48 -0400
commite1332c52399e5dae3a282697bd265121be61a086 (patch)
tree0fe36c249ed532c34514166a53a87ac42c91169b /models/user.go
parentafc6cbc4797571a138eb150768fb9276b4da702b (diff)
downloadgitea-e1332c52399e5dae3a282697bd265121be61a086.tar.gz
gitea-e1332c52399e5dae3a282697bd265121be61a086.zip
Fix #230
Diffstat (limited to 'models/user.go')
-rw-r--r--models/user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/user.go b/models/user.go
index dd70a35f0b..f95f303b2b 100644
--- a/models/user.go
+++ b/models/user.go
@@ -121,7 +121,7 @@ func IsEmailUsed(email string) (bool, error) {
return orm.Get(&User{Email: email})
}
-// return a user salt token
+// GetUserSalt returns a user salt token
func GetUserSalt() string {
return base.GetRandomString(10)
}