Skip to content

Commit

Permalink
Merge pull request #3010 from bolt/bugfix/yaml-migration-security-com…
Browse files Browse the repository at this point in the history
…ponent

Add the yaml migrations for the new security component
  • Loading branch information
bobdenotter authored Dec 12, 2021
2 parents c27281e + 657d98a commit 5ed4018
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions yaml-migrations/m_2021-12-10-security_1.yaml
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions yaml-migrations/m_2021-12-10-security_2.yaml
Original file line number Diff line number Diff line change
@@ -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: ~

0 comments on commit 5ed4018

Please sign in to comment.