core: fix ShellView not being login only

This commit is contained in:
Jens Langhammer
2020-11-22 19:42:47 +01:00
parent 07773ed934
commit c9712facf3
2 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
"""core shell view"""
from django.contrib.auth.mixins import LoginRequiredMixin
from django.views.generic.base import TemplateView
class ShellView(TemplateView):
class ShellView(LoginRequiredMixin, TemplateView):
"""core shell view"""
template_name = "shell.html"