Description
In backend/controllers/authController.js (lines 1-11), crypto and bcrypt are imported but never used anywhere in the file:
const crypto = require('crypto');
const bcrypt = require('bcrypt');
Impact
Dead imports increase cognitive load for maintainers and may confuse developers about which hashing strategy is actually in use.
Suggested Fix
Remove the unused imports.
Description
In
backend/controllers/authController.js(lines 1-11),cryptoandbcryptare imported but never used anywhere in the file:Impact
Dead imports increase cognitive load for maintainers and may confuse developers about which hashing strategy is actually in use.
Suggested Fix
Remove the unused imports.