Skip to content

Rename 2FA Constant to a Valid and Conventional Identifier #258

Description

@armanist

The environment constant 2FA currently defined in the .env file violates common naming conventions, as identifiers should not begin with a digit. This can cause compatibility issues and reduce code clarity. We need to rename this constant and refactor its usage throughout the codebase.

Acceptance Criteria

  • Rename the 2FA key in the .env file to TWO_FA.
  • Update any default values or usage references in config files.
  • Refactor all usages in the codebase where 2FA is referenced (e.g., env('2FA'), config()->get('2FA'), etc.).

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions