Skip to content

Commit

Permalink
Replace bcrypt node module with utils module
Browse files Browse the repository at this point in the history
  • Loading branch information
dbauszus-glx committed Oct 31, 2024
1 parent 69c6c44 commit f9990c0
Show file tree
Hide file tree
Showing 3 changed files with 1,211 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mod/user/fromACL.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This module exports the fromACL method to request and validate a user from the A
@module /user/fromACL
*/

const bcrypt = require('bcrypt')
const bcrypt = require('../utils/bcrypt')

const crypto = require('crypto')

Expand Down
2 changes: 1 addition & 1 deletion mod/user/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Exports the [user] register method for the /api/user/register route.
@module /user/register
*/

const bcrypt = require('bcrypt')
const bcrypt = require('../utils/bcrypt')

const crypto = require('crypto')

Expand Down
Loading

0 comments on commit f9990c0

Please sign in to comment.