summaryrefslogtreecommitdiffstats
path: root/models/migrations/v71.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v71.go')
-rw-r--r--models/migrations/v71.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v71.go b/models/migrations/v71.go
index e4ed46a21a..163ec3ee5f 100644
--- a/models/migrations/v71.go
+++ b/models/migrations/v71.go
@@ -53,7 +53,7 @@ func addScratchHash(x *xorm.Engine) error {
for _, tfa := range tfas {
// generate salt
- salt, err := util.RandomString(10)
+ salt, err := util.CryptoRandomString(10)
if err != nil {
return err
}