aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v85.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v85.go')
-rw-r--r--models/migrations/v85.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v85.go b/models/migrations/v85.go
index bdbcebeb00..9611d6e72a 100644
--- a/models/migrations/v85.go
+++ b/models/migrations/v85.go
@@ -65,7 +65,7 @@ func hashAppToken(x *xorm.Engine) error {
for _, token := range tokens {
// generate salt
- salt, err := util.RandomString(10)
+ salt, err := util.CryptoRandomString(10)
if err != nil {
return err
}