Since we are doing a fake user authentication to get 2FA going, we need
to explicitley enable this. Usually clients were happy without this, but
somewhere it must have changed recently that clients require this set
explicitely.
Fixes: #13109 - openVPN, 2FA - client does not ask for One Time Token
Reported-by: Heino Gutschmidt <heino.gutschmidt@managedhosting.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
+srv/web/ipfire/cgi-bin/ovpnmain.cgi
srv/web/ipfire/cgi-bin/pakfire.cgi
var/ipfire/langs/list
print CLIENTCONF "auth-nocache\r\n";
# Set a fake user name for authentication
+ print CLIENTCONF "auth-user-pass\r\n";
print CLIENTCONF "auth-token-user USER\r\n";
print CLIENTCONF "auth-token TOTP\r\n";