Skip to content

[CLEANUP] Unused imports crypto and bcrypt in authController increase cognitive load #1632

@Siddh2024

Description

@Siddh2024

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendIssues related to server-side, database logic or APIsfrontendIssues related to UI/UX

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions