From 5a8dd19b4b4edb867520ed5aa008d7ea7860aed5 Mon Sep 17 00:00:00 2001 From: OzzieIsaacs Date: Tue, 17 Jan 2017 17:45:23 +0100 Subject: [PATCH] Bugfix Authentication for opds search calibre companion --- cps/web.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cps/web.py b/cps/web.py index b801cc76..21c30732 100755 --- a/cps/web.py +++ b/cps/web.py @@ -426,6 +426,7 @@ def feed_osd(): return response @app.route("/opds/search/") +@requires_basic_auth_if_no_ano def feed_cc_search(query): return feed_search(query.strip()) @@ -956,6 +957,7 @@ def stats(): @app.route("/shutdown") +@login_required def shutdown(): # logout_user() # add restart command to queue