mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-05-17 00:05:56 +03:00
* feat: add API token to install output Add -getApiToken flag to the setting subcommand so shell scripts can retrieve the panel API token. Include the token in the install.sh completion banner for automation/deployment use. * fix(install): adapt -getApiToken CLI to multi-token service settingService.GetApiToken was removed when API tokens moved to a multi-row ApiTokenService. Switch the install-time CLI to list tokens and create one named "install" if none exist, preserving the `apiToken: <value>` output the install.sh grep depends on. --------- Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
15 KiB
15 KiB