Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
m4lab_tv1
User Account
Commits
91ac91fe
Commit
91ac91fe
authored
Dec 09, 2019
by
Wolfgang Knopki
Browse files
fix salting error in routes.js
parent
6813453a
Pipeline
#357
passed with stage
in 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
routes/routes.js
View file @
91ac91fe
...
...
@@ -5,6 +5,7 @@ const methods = require('./methods');
// pwd encryption
const
bcrypt
=
require
(
'
bcryptjs
'
);
const
saltRounds
=
10
;
const
salt
=
64
;
// salt length
// forgot pwd
const
async
=
require
(
'
async
'
);
const
crypto
=
require
(
'
crypto
'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment