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
5 years ago
by
Wolfgang Knopki
Browse files
Options
Download
Email Patches
Plain Diff
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
Showing
1 changed file
routes/routes.js
+1
-0
routes/routes.js
with
1 addition
and
0 deletions
+1
-0
routes/routes.js
+
1
-
0
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
'
);
...
...
This diff is collapsed.
Click to expand it.
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