Update x-ui.sh

This commit is contained in:
JieXu 2025-10-01 23:37:43 +08:00 committed by GitHub
parent af269a6ca7
commit 6695cff291
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -187,6 +187,7 @@ reset_user() {
fi fi
return 0 return 0
fi fi
read -rp "Please set the login username [default is a random username]: " config_account read -rp "Please set the login username [default is a random username]: " config_account
[[ -z $config_account ]] && config_account=$(gen_random_string 10) [[ -z $config_account ]] && config_account=$(gen_random_string 10)
read -rp "Please set the login password [default is a random password]: " config_password read -rp "Please set the login password [default is a random password]: " config_password