Export user pass option in client when OTP is enabled
This commit is contained in:
parent
c24a22deea
commit
bb3d1add3c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user