Commit c279055a authored by Gavin Mogan's avatar Gavin Mogan

Use the kobo auth'd version for download link when proxied -- Fixes #1908

parent f4ddac16
......@@ -305,7 +305,8 @@ def get_download_url_for_book(book, book_format):
book_format=book_format.lower()
)
return url_for(
"web.download_link",
"kobo.download_book",
auth_token=kobo_auth.get_auth_token(),
book_id=book.id,
book_format=book_format.lower(),
_external=True,
......
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