pantheon-systems / wp-saml-auth

Rock-solid SAML authentication for WordPress built on a modern foundation.
https://wordpress.org/plugins/wp-saml-auth/
89 stars 43 forks source link

Checkboxes in plugin settings don't reflect defaults until first save #353

Open danieltaylor opened 1 year ago

danieltaylor commented 1 year ago

After first installing this plugin, the settings show that Auto Provision and Permit WordPress login are disabled:

Screenshot 2023-07-26 at 5 15 08 PM

However, even if they are left unchecked, these options become checked after saving the plugin settings for the first time:

Screenshot 2023-07-26 at 5 19 00 PM

I have tested this in both Safari and Chrome and have experienced the same issue. It appears that true is the default setting for these options, so either the checkboxes should show up as checked by default, or those options should default to false. Strangely enough, it appears that the checkboxes are set to be checked by default, so I'm not sure what is causing them to appear otherwise.