Fix ProtonVPN username suffix reminder in configure_vpn function

This commit is contained in:
Roger Gonzalez 2024-12-30 17:57:10 -03:00
parent f50d2ca673
commit 348ed79503
Signed by: rogs
GPG Key ID: C7ECE9C6C36EC2E6
2 changed files with 4 additions and 0 deletions

View File

@ -270,6 +270,8 @@ configure_vpn() {
log_info "Please check $vpn_service's documentation for specific configuration:" log_info "Please check $vpn_service's documentation for specific configuration:"
log_info "https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/${vpn_service// /-}.md" log_info "https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/${vpn_service// /-}.md"
log_warning "If you are using ProtonVPN, remember to suffix '+pmp' to your username"
echo
read -p "VPN username (without spaces): " vpn_user read -p "VPN username (without spaces): " vpn_user
[ -z "$vpn_user" ] && log_error "VPN username cannot be empty" [ -z "$vpn_user" ] && log_error "VPN username cannot be empty"

View File

@ -203,6 +203,8 @@ configure_vpn() {
log_info "Please check $vpn_service's documentation for specific configuration:" log_info "Please check $vpn_service's documentation for specific configuration:"
log_info "https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/${vpn_service// /-}.md" log_info "https://github.com/qdm12/gluetun-wiki/blob/main/setup/providers/${vpn_service// /-}.md"
log_warning "If you are using ProtonVPN, remember to suffix '+pmp' to your username"
echo
read -p "VPN username (without spaces): " vpn_user read -p "VPN username (without spaces): " vpn_user
[ -z "$vpn_user" ] && log_error "VPN username cannot be empty" [ -z "$vpn_user" ] && log_error "VPN username cannot be empty"