mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-12 21:20:07 +00:00
Update install.sh
This commit is contained in:
parent
b4dae36345
commit
561675e3eb
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ config_after_install() {
|
||||||
else
|
else
|
||||||
if [[ "$existing_hasDefaultCredential" == "true" ]]; then
|
if [[ "$existing_hasDefaultCredential" == "true" ]]; then
|
||||||
local config_username=$(gen_random_string 10)
|
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}"
|
echo -e "${yellow}Default credentials detected. Security update required...${plain}"
|
||||||
/usr/local/x-ui/x-ui setting -username "${config_username}" -password "${config_password}"
|
/usr/local/x-ui/x-ui setting -username "${config_username}" -password "${config_password}"
|
||||||
|
|
Loading…
Reference in a new issue