wp-m365-login/includes
Friederich Loheide 1708bae91a Fix certificate storage being undone by the settings sanitiser
store_certificate() and remove_certificate() wrote the option with
update_option(), which runs the registered sanitize() callback in the
admin (including admin-ajax). sanitize() expects raw form input, so it
restored the previous certificate fields and encrypted the stored client
secret a second time: "Generate certificate" did not keep the new
certificate and broke an existing client secret.

Internal writes now bypass the form sanitiser.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 16:34:19 +00:00
..
class-m365-login-admin.php Move the settings screen to its own top-level menu 2026-09-22 17:07:53 +00:00
class-m365-login-auth.php Add certificate authentication, in-app setup guides and security audit 2026-09-22 15:04:32 +00:00
class-m365-login-button.php Support custom login pages 2026-09-22 14:52:11 +00:00
class-m365-login-certificate.php Add certificate authentication, in-app setup guides and security audit 2026-09-22 15:04:32 +00:00
class-m365-login-crypto.php Add M365 Login plugin: Microsoft Entra ID sign-in for existing users 2026-09-22 14:21:10 +00:00
class-m365-login-graph.php Add certificate authentication, in-app setup guides and security audit 2026-09-22 15:04:32 +00:00
class-m365-login-jwt.php Add M365 Login plugin: Microsoft Entra ID sign-in for existing users 2026-09-22 14:21:10 +00:00
class-m365-login-settings.php Fix certificate storage being undone by the settings sanitiser 2026-09-23 16:34:19 +00:00
class-m365-login.php Move the settings screen to its own top-level menu 2026-09-22 17:07:53 +00:00
functions.php Support custom login pages 2026-09-22 14:52:11 +00:00