feat: streamline module setup process

Streamlined the setup process for the WHMCS OIDC admin login module by including a step to copy the default configuration file (`config.dist.php`) to `config.php`. This change simplifies the initial configuration for users by preparing a default configuration file that is ready to be customized, reducing setup complexity and potential errors. Users now directly edit the `config.php` file for module configuration, enhancing clarity and easing the setup process.
This commit is contained in:
Kumi 2024-04-27 07:56:10 +02:00
parent 1b3ffbd923
commit 07d80ba0af
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -25,9 +25,10 @@ cd /path/to/whmcs/modules/security
git clone https://git.private.coffee/kumisystems/whmcs-oidc_admin_login.git git clone https://git.private.coffee/kumisystems/whmcs-oidc_admin_login.git
cd whmcs-oidc_admin_login cd whmcs-oidc_admin_login
composer install composer install
cp config.dist.php config.php
``` ```
2. Configure the module by editing the `oidc_admin_login/config.php` file. 2. Configure the module by editing the `config.php` file.
## Usage ## Usage