diff options
Diffstat (limited to 'models/token.go')
-rw-r--r-- | models/token.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/token.go b/models/token.go index 44428a0809..b89514309c 100644 --- a/models/token.go +++ b/models/token.go @@ -62,7 +62,7 @@ func init() { // NewAccessToken creates new access token. func NewAccessToken(t *AccessToken) error { - salt, err := util.RandomString(10) + salt, err := util.CryptoRandomString(10) if err != nil { return err } |