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

fix salting error in routes.js

1 merge request!2Mlab 56
Pipeline #357 passed with stage
in 10 seconds
Showing with 1 addition and 0 deletions
+1 -0
...@@ -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');
......
Supports Markdown
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