Bugfix Authentication for opds search calibre companion

This commit is contained in:
OzzieIsaacs 2017-01-17 17:45:23 +01:00
parent 12c80800ed
commit 5a8dd19b4b

View File

@ -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():
@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