Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix existing auth strategies not getting new props #6250

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

icsinfo
Copy link
Contributor

@icsinfo icsinfo commented Mar 13, 2023

This pull request should fix an existing authentication strategy not getting new properties after an update. It does this by using the existing function to pull in new properties and their defaults, and if any new properties are detected, write the strategy back to the database with the new defaults.

Something of note, a bad auth strategy update that includes breaking default properties can break an installation, so people need to keep this in mind if this PR is merged.

This pull request should fix an existing authentication strategy not getting new properties after an update. It does this by using the existing function to pull in new properties and their defaults, and if any new properties are detected, write the strategy back to the database with the new defaults.

Something of note, a bad auth strategy update that includes breaking default properties can break an installation, so people need to keep this in mind if this PR is merged.
@NGPixel NGPixel merged commit 5acc7e7 into requarks:main Mar 17, 2023
@icsinfo icsinfo deleted the fix-auth-strategies-updates branch March 17, 2023 22:36
davidflypei pushed a commit to davidflypei/wiki that referenced this pull request Jun 13, 2023
jionggyu pushed a commit to jionggyu/wiki-2.5.302-patch that referenced this pull request Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants