mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 08:15:27 +01:00
Secure document fetching
This commit is contained in:
parent
0a0ff8da90
commit
2a1818d09a
2 changed files with 3 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class IndexView(TemplateView):
|
|||
return TemplateView.get_context_data(self, **kwargs)
|
||||
|
||||
|
||||
class FetchView(DetailView):
|
||||
class FetchView(LoginRequiredMixin, DetailView):
|
||||
|
||||
model = Document
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue