summaryrefslogtreecommitdiffstats
path: root/models/user.go
diff options
context:
space:
mode:
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)
}