Commit 91ac91fe authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

fix salting error in routes.js

parent 6813453a
Pipeline #357 passed with stage
in 10 seconds
...@@ -5,6 +5,7 @@ const methods = require('./methods'); ...@@ -5,6 +5,7 @@ const methods = require('./methods');
// pwd encryption // pwd encryption
const bcrypt = require('bcryptjs'); const bcrypt = require('bcryptjs');
const saltRounds = 10; const saltRounds = 10;
const salt = 64; // salt length
// forgot pwd // forgot pwd
const async = require('async'); const async = require('async');
const crypto = require('crypto'); const crypto = require('crypto');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment