forked from NYANDEV/forgejo
Fix #230
This commit is contained in:
parent
afc6cbc479
commit
e1332c5239
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue