Export user pass option in client when OTP is enabled

This commit is contained in:
Fabio Napoleoni 2016-02-06 21:40:11 +01:00
parent c24a22deea
commit bb3d1add3c

View File

@ -85,6 +85,10 @@ $OVPN_ADDITIONAL_CLIENT_CONFIG
echo "auth $OVPN_AUTH" echo "auth $OVPN_AUTH"
fi fi
if [ -n "$OVPN_OTP_AUTH" ]; then
echo "auth-user-pass"
fi
if [ -n "$OVPN_COMP_LZO" ]; then if [ -n "$OVPN_COMP_LZO" ]; then
echo "comp-lzo" echo "comp-lzo"
fi fi