Skip to content

[Bug] Duplicate logic in /src/controllers/authController.js #114

@gbowne1

Description

@gbowne1

The original has;

  • nested try catch blocks which are unnecessary and caused unreachable code

  • duplicated register and login logic

  • user declared twice in nested scope

  • has mismatched braces due to a possible previous merge conflicts

  • Missing JWT secret check in some branches

  • 444 is not a valid HTTP status.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    Status

    In Progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions