diff --git a/hooks/post_app_addaccess b/hooks/post_app_addaccess index f0dc07c..cdc8ca3 100644 --- a/hooks/post_app_addaccess +++ b/hooks/post_app_addaccess @@ -30,7 +30,7 @@ if echo "$group" | grep visitors ; then rm ../manifest.toml #Update settings in calibre database - sqlite3 $install_dir/app.db "UPDATE settings SET config_reverse_proxy_login_header_name='', config_allow_reverse_proxy_header_login=0 WHERE ID)1;" + sqlite3 $install_dir/app.db "UPDATE settings SET config_reverse_proxy_login_header_name='', config_allow_reverse_proxy_header_login=0 WHERE ID=1;" # ynh_print_info --message="Restarting Calibre-web to take new parameters into account # ynh_systemd_action --service_name=$app --action=restart --line_match="Starting Gevent server on" -t 30 fi \ No newline at end of file