mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
portal theme setting: missing hook to regen ssowatconf when changing value
This commit is contained in:
parent
08521882ca
commit
24f25e0033
1 changed files with 5 additions and 0 deletions
|
@ -276,6 +276,11 @@ def trigger_post_change_hook(setting_name, old_value, new_value):
|
||||||
#
|
#
|
||||||
# ===========================================
|
# ===========================================
|
||||||
|
|
||||||
|
@post_change_hook("portal_theme")
|
||||||
|
def regen_ssowatconf(setting_name, old_value, new_value):
|
||||||
|
if old_value != new_value:
|
||||||
|
from yunohost.app import app_ssowatconf
|
||||||
|
app_ssowatconf()
|
||||||
|
|
||||||
@post_change_hook("ssowat_panel_overlay_enabled")
|
@post_change_hook("ssowat_panel_overlay_enabled")
|
||||||
@post_change_hook("nginx_redirect_to_https")
|
@post_change_hook("nginx_redirect_to_https")
|
||||||
|
|
Loading…
Add table
Reference in a new issue