]> git.ipfire.org Git - ipfire-2.x.git/commit
openvpn-authenticator: Change event and environment handling
authorTimo Eissler <timo.eissler@ipfire.org>
Tue, 7 Jun 2022 15:53:23 +0000 (17:53 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 17 Jun 2022 10:20:19 +0000 (10:20 +0000)
commit59f9e413611e6724a039429020fd528b782a5017
tree7fcc2c152b832d7f8cbea3cc833703c6557f655d
parent472cd78269a8d03cfa1447b3c80bed6dd3fd0897
openvpn-authenticator: Change event and environment handling

Move reading of environment in it's own function because not all
events have a ENV block following and thus always reading the ENV
will cause RuntimeError("Unexpected environment line ...").
config/ovpn/openvpn-authenticator