mirror of https://github.com/JohnHammond/CTFd.git
Clear cache after set config in admin_plugin_config() (#323)
parent
46e039ec50
commit
1ed0f4a32d
|
@ -49,6 +49,8 @@ def admin_plugin_config(plugin):
|
|||
if k == "nonce":
|
||||
continue
|
||||
utils.set_config(k, v)
|
||||
with app.app_context():
|
||||
cache.clear()
|
||||
return '1'
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue