diff options
author | Unknown <joe2010xtmf@163.com> | 2014-06-01 21:47:48 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-06-01 21:47:48 -0400 |
commit | e1332c52399e5dae3a282697bd265121be61a086 (patch) | |
tree | 0fe36c249ed532c34514166a53a87ac42c91169b /models/user.go | |
parent | afc6cbc4797571a138eb150768fb9276b4da702b (diff) | |
download | gitea-e1332c52399e5dae3a282697bd265121be61a086.tar.gz gitea-e1332c52399e5dae3a282697bd265121be61a086.zip |
Fix #230
Diffstat (limited to 'models/user.go')
-rw-r--r-- | models/user.go | 2 |
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) } |