fix: 修复keycloak配置转换为openid不生效问题,持久化到数据库

pull/7660/head
halo 2022-02-20 20:42:43 +08:00 committed by Jiangjie.Bai
parent 83ff8dbf26
commit ea124fd0db
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ class Setting(models.Model):
# 刷新 settings
for key, value in openid_config.items():
setattr(settings, key, value)
self.update_or_create(key, value, encrypted=False, category=self.category)
@classmethod
def refresh_AUTH_RADIUS(cls):