From 898e6b4f80cea64255a43c6650f59dfe71e25c49 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Sun, 26 Apr 2020 18:24:22 +0200 Subject: [PATCH] Calibre-Web is rebooted everytime login type ic shanged (from and to standard authentication and between login methods) --- cps/admin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cps/admin.py b/cps/admin.py index fb26931e..d80c1767 100644 --- a/cps/admin.py +++ b/cps/admin.py @@ -540,8 +540,7 @@ def _configuration_update_helper(): _config_string("config_calibre") _config_string("config_converterpath") - if _config_int("config_login_type"): - reboot_required |= config.config_login_type != constants.LOGIN_STANDARD + reboot_required |= _config_int("config_login_type") #LDAP configurator, if config.config_login_type == constants.LOGIN_LDAP: