mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-20 20:46:53 +00:00
Secure document fetching
This commit is contained in:
1 parent
0a0ff8da90
commit
2a1818d09a
2 files changed
+3
-1
No files matched your search
@@ -31,7 +31,7 @@ class IndexView(TemplateView):
|
||||
return TemplateView.get_context_data(self, **kwargs)
|
||||
|
||||
|
||||
class FetchView(DetailView):
|
||||
class FetchView(LoginRequiredMixin, DetailView):
|
||||
|
||||
model = Document
|
||||
|
||||
|
||||
Reference in new issue
Block a user