We need to rename the existing config.php file to app.php for better clarity and separation of concerns.
Additionally, the following authentication-related configurations should be moved from app.php to auth.php.
Changes Required
-
Rename file:
- From: config/config.php
- To: config/app.php
-
Move these configuration keys from: app.php to: auth.php
'two_fa' => env('TWO_FA', true),
'otp_expires' => 2,
- Update all references in the codebase and tests