diff --git a/x-ui.sh b/x-ui.sh index 641db3a0..96a40dd7 100644 --- a/x-ui.sh +++ b/x-ui.sh @@ -185,7 +185,7 @@ reset_user() { read -rp "Please set the login password [default is a random password]: " config_password [[ -z $config_password ]] && config_password=$(date +%s%N | md5sum | cut -c 1-8) - read -rp "Are you sure you want to reset the two factor? (y/n): " twoFactorConfirm + read -rp "Do you want to disable currently configured two-factor authentication? (y/n): " twoFactorConfirm if [[ $twoFactorConfirm != "y" && $twoFactorConfirm != "Y" ]]; then /usr/local/x-ui/x-ui setting -username ${config_account} -password ${config_password} -resetTwoFactor false >/dev/null 2>&1 else