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"
fi
if [ -n "$OVPN_OTP_AUTH" ]; then
echo "auth-user-pass"
fi
if [ -n "$OVPN_COMP_LZO" ]; then
echo "comp-lzo"
fi