Commit 5a8dd19b authored by OzzieIsaacs's avatar OzzieIsaacs

Bugfix Authentication for opds search calibre companion

parent 12c80800
...@@ -426,6 +426,7 @@ def feed_osd(): ...@@ -426,6 +426,7 @@ def feed_osd():
return response return response
@app.route("/opds/search/<query>") @app.route("/opds/search/<query>")
@requires_basic_auth_if_no_ano
def feed_cc_search(query): def feed_cc_search(query):
return feed_search(query.strip()) return feed_search(query.strip())
...@@ -956,6 +957,7 @@ def stats(): ...@@ -956,6 +957,7 @@ def stats():
@app.route("/shutdown") @app.route("/shutdown")
@login_required
def shutdown(): def shutdown():
# logout_user() # logout_user()
# add restart command to queue # add restart command to queue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment