mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
require auth on resolve book endpoint
This commit is contained in:
parent
9a5003f92a
commit
4787d854b8
1 changed files with 1 additions and 0 deletions
|
@ -172,6 +172,7 @@ def add_description(request, book_id):
|
|||
return redirect("book", book.id)
|
||||
|
||||
|
||||
@login_required
|
||||
@require_POST
|
||||
def resolve_book(request):
|
||||
"""figure out the local path to a book from a remote_id"""
|
||||
|
|
Loading…
Reference in a new issue