-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14698b1
commit 4c260e1
Showing
7 changed files
with
27 additions
and
2,033 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by Django 4.2.10 on 2024-08-27 19:31 | ||
|
||
from django.db import migrations | ||
|
||
OIDC_AUTH_CONF_KEYS = [ | ||
'SOCIAL_AUTH_OIDC_KEY', | ||
'SOCIAL_AUTH_OIDC_SECRET', | ||
'SOCIAL_AUTH_OIDC_OIDC_ENDPOINT', | ||
'SOCIAL_AUTH_OIDC_VERIFY_SSL' | ||
] | ||
|
||
|
||
def remove_oidc_auth_conf(apps, scheme_editor): | ||
setting = apps.get_model('conf', 'Setting') | ||
setting.objects.filter(key__in=OIDC_AUTH_CONF_KEYS).delete() | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('conf', '0010_change_to_JSONField'), | ||
] | ||
|
||
operations = [ | ||
migrations.RunPython(remove_oidc_auth_conf), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.