[wip] Ask user if they want to re-enter the proxy

This commit is contained in:
William Wernert
2021-03-04 11:53:08 -05:00
parent 5a97341d33
commit 13dc822197
3 changed files with 12 additions and 9 deletions

View File

@@ -551,12 +551,11 @@ collect_proxy() {
while ! valid_proxy "$proxy_addr"; do
whiptail_invalid_input
whiptail_proxy_addr
whiptail_proxy_addr "$proxy_addr"
done
if whiptail_proxy_auth_ask; then
whiptail_proxy_auth_user
whiptail_proxy_auth_user "$proxy_user"
whiptail_proxy_auth_pass
local url_prefixes=( 'http://' 'https://' )