diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config/default.js | 2 | ||||
-rw-r--r-- | lib/models/user.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/config/default.js b/lib/config/default.js index d7a8f471..5a7ae0a0 100644 --- a/lib/config/default.js +++ b/lib/config/default.js @@ -13,7 +13,7 @@ module.exports = { useSSL: false, hsts: { enable: true, - maxAgeSeconds: 31536000, + maxAgeSeconds: 60 * 60 * 24 * 365, includeSubdomains: true, preload: true }, 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') |