quantum-php-core icon indicating copy to clipboard operation
quantum-php-core copied to clipboard

Rename 2FA Constant to a Valid and Conventional Identifier

Open armanist opened this issue 1 year ago • 0 comments

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.).

armanist avatar Apr 24 '25 16:04 armanist