Bugfix Authentication for opds search calibre companion
This commit is contained in:
parent
12c80800ed
commit
5a8dd19b4b
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue