inverse-inc / packetfence

PacketFence is a fully supported, trusted, Free and Open Source network access control (NAC) solution. Boasting an impressive feature set including a captive-portal for registration and remediation, centralized wired and wireless management, powerful BYOD management options, 802.1X support, layer-2 isolation of problematic devices; PacketFence can be used to effectively secure networks small to very large heterogeneous networks.
https://packetfence.org
GNU General Public License v2.0
1.39k stars 291 forks source link

Authentication Sources UI issue - Monitor, Shuffle, and Use Connector toggles do not reflect configuration after reloading the page #8338

Open E-ThanG opened 1 month ago

E-ThanG commented 1 month ago

Describe the bug In PF13.2 and 14.0 the Authentication Sources window does not follow the currently configured status of the "Monitor", "Shuffle", and "Use Connector" toggles. Setting the configuration in the UI does change the values in conf/authentication.conf. The "Cache match" toggle correctly sets the configuration file and also tracks the configured state.

To Reproduce

  1. Set either "Monitor", "Shuffle", or "Use Connector" toggle to on.
  2. Save changes.
  3. Reload the page, the toggles revert to off. Alternatively, save settings in one browser and load the page another or a private browsing session.

Screenshots Setting toggles image After reloading page image

Expected behavior The UI should match the state of the configuration files. Make it work like "Cache match".

Additional context I've only tried these 2 versions, I can't say if the issue exists in other releases. Oh, and that's obviously not my real password in the screenshot :D