You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can confirm this is a bug. There is conflicting logic for the disabled field that prevents it from being set to false once it's been set to true. I'll have a fix for this in the next patch.
I'm trying to setup an API call to disconnect and reconnect the VPN client on demand.
To Reproduce
When I call the
/api/v1/services/openvpn/client
with{ disable: true }
it works, but the auth_user property gets set to
null
(no problem if I pass the user in the request's body).If I then call the same API with
{ disable: false }
It doesn't work and the VPN Client stays disabled.
Expected behavior
Disable and Enable the VPN client correctly.
pfSense Version & Package Version:
Affected Endpoints:
The text was updated successfully, but these errors were encountered: