Update install.sh

This commit is contained in:
xujie86 2025-07-25 10:33:48 +08:00 committed by GitHub
parent b4dae36345
commit 561675e3eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -124,7 +124,7 @@ config_after_install() {
else
if [[ "$existing_hasDefaultCredential" == "true" ]]; then
local config_username=$(gen_random_string 10)
local config_password=$(gen_random_string 10)
local config_password=$(gen_random_string 18)
echo -e "${yellow}Default credentials detected. Security update required...${plain}"
/usr/local/x-ui/x-ui setting -username "${config_username}" -password "${config_password}"