From c7aaa9e9f858fc100468faba0a28cbbe220df7b6 Mon Sep 17 00:00:00 2001 From: JieXu Date: Wed, 1 Oct 2025 23:49:54 +0800 Subject: [PATCH] Update x-ui.sh --- x-ui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-ui.sh b/x-ui.sh index 4180b4e1..cadc71a1 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -191,7 +191,7 @@ reset_user() { read -rp "Please set the login username [default is a random username]: " config_account [[ -z $config_account ]] && config_account=$(gen_random_string 10) read -rp "Please set the login password [default is a random password]: " config_password - [[ -z $config_password ]] && config_password=$(gen_random_string 16) + [[ -z $config_password ]] && config_password=$(gen_random_string 18) read -rp "Do you want to disable currently configured two-factor authentication? (y/n): " twoFactorConfirm if [[ $twoFactorConfirm != "y" && $twoFactorConfirm != "Y" ]]; then