summaryrefslogtreecommitdiff
path: root/lib/models/user.js
diff options
context:
space:
mode:
authorSheogorath2018-11-20 01:26:10 +0100
committerSheogorath2018-11-21 01:33:34 +0100
commitcee2aa92f9244d1dcfc65c5553f5d7f0bbfb3871 (patch)
tree0167ac2cfefaafc530ccc04857f58125ccc283e4 /lib/models/user.js
parent234171e117842a69aed1a79c55307c2f6dd2043d (diff)
Switch scrypt library to a successor
Since our previous scrypt library is unmaintained since 3 years, it's time to look for an alternative. A refactoring towards another password algorithm was worked on and this is probably still the way to go. But for now the successor of our previous library should already be enough. https://www.npmjs.com/package/scrypt (old library) https://github.com/ml1nk/node-scrypt (new library) Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'lib/models/user.js')
-rw-r--r--lib/models/user.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/user.js b/lib/models/user.js
index 2ebf6d06..648db73e 100644
--- a/lib/models/user.js
+++ b/lib/models/user.js
@@ -1,7 +1,7 @@
'use strict'
// external modules
var Sequelize = require('sequelize')
-var scrypt = require('scrypt')
+var scrypt = require('@mlink/scrypt')
// core
var logger = require('../logger')