From 14132783ed47bc077b6594c3a4d8f8b970919d3d Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Thu, 19 Sep 2019 17:42:35 -0500 Subject: Add salt to password hashing --- src/index.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/index.js') diff --git a/src/index.js b/src/index.js index 1214038..c6a5a18 100644 --- a/src/index.js +++ b/src/index.js @@ -68,6 +68,10 @@ function setUpModels(){ password: { type: Sequelize.STRING, allowNull: false, + }, + salt: { + type: Sequelize.STRING, + allowNull: false, },}), "requests": database.define('requests', { session: Sequelize.STRING, -- cgit v1.2.3