diff --git a/yaml-migrations/m_2021-12-10-security_1.yaml b/yaml-migrations/m_2021-12-10-security_1.yaml new file mode 100644 index 000000000..a845daf00 --- /dev/null +++ b/yaml-migrations/m_2021-12-10-security_1.yaml @@ -0,0 +1,12 @@ +# See: https://github.com/bolt/core/pull/3007 + +file: packages/security.yaml +since: 5.1.0 + +add: + security: + enable_authenticator_manager: true + firewalls: + main: + custom_authenticators: + - Bolt\Security\LoginFormAuthenticator diff --git a/yaml-migrations/m_2021-12-10-security_2.yaml b/yaml-migrations/m_2021-12-10-security_2.yaml new file mode 100644 index 000000000..21a20c4c8 --- /dev/null +++ b/yaml-migrations/m_2021-12-10-security_2.yaml @@ -0,0 +1,13 @@ +# See: https://github.com/bolt/core/pull/3007 + +file: packages/security.yaml +since: 5.1.0 + +remove: + security: + firewalls: + main: + anonymous: ~ + guard: ~ + logout: + handler: ~