update
This commit is contained in:
@@ -161,6 +161,11 @@ TAPM_AUTHORIZE() {
|
||||
local -a access
|
||||
|
||||
TAPM_CLEAR_AUTHORIZATION
|
||||
if ! TAPM_VALID_HTTPS_URL "${TAPM_BROKER_URL:-}"; then
|
||||
echo -e "${idsCL[LightRed]}TAPM_BROKER_URL is not configured with a valid HTTPS origin.${idsCL[Default]}"
|
||||
echo -e "${idsCL[LightYellow]}Set it in /etc/ta-proxmenu/config.env before authorizing this installation.${idsCL[Default]}"
|
||||
return 1
|
||||
fi
|
||||
if ! command -v python3 >/dev/null 2>&1; then
|
||||
echo -e "${idsCL[LightRed]}Python 3 is required to authorize ${authorization_label}.${idsCL[Default]}"
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user