File tree 1 file changed +1
-8
lines changed
Tombolo/server/controllers
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ const sequelize = require("../models").sequelize;
8
8
// Local imports
9
9
const logger = require ( "../config/logger" ) ;
10
10
const models = require ( "../models" ) ;
11
- const bcrypt = require ( "bcryptjs" ) ;
12
11
const {
13
12
setPasswordExpiry,
14
13
trimURL,
15
14
checkPasswordSecurityViolations,
16
15
setPreviousPasswords,
16
+ generatePassword,
17
17
} = require ( "../utils/authUtil" ) ;
18
18
19
19
// Constants
@@ -24,13 +24,6 @@ const NotificationQueue = models.notification_queue;
24
24
const AccountVerificationCodes = models . AccountVerificationCodes ;
25
25
const PasswordResetLinks = models . PasswordResetLinks ;
26
26
27
- const {
28
- checkPasswordSecurityViolations,
29
- setPasswordExpiry,
30
- setPreviousPasswords,
31
- generatePassword,
32
- } = require ( "../utils/authUtil" ) ;
33
-
34
27
// Delete user with ID
35
28
const deleteUser = async ( req , res ) => {
36
29
try {
You can’t perform that action at this time.
0 commit comments