core: fix ShellView not being login only
This commit is contained in:
parent
07773ed934
commit
c9712facf3
|
@ -15,6 +15,6 @@
|
|||
{% block page_content %}
|
||||
<pb-sidebar class="pf-c-page__sidebar" brandLogo="{{ config.passbook.branding.logo }}" {% if config.passbook.branding.title_show %} brandTitle="{{ config.passbook.branding.title }}" {% endif %}>
|
||||
</pb-sidebar>
|
||||
<pb-router-outlet role="main" class="pf-c-page__main" tabindex="-1" id="main-content" defaultUrl="-/overview/">
|
||||
<pb-router-outlet role="main" class="pf-c-page__main" tabindex="-1" id="main-content" defaultUrl="/-/overview/">
|
||||
</pb-router-outlet>
|
||||
{% endblock %}
|
||||
|
|
|
@ -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"
|
||||
|
|
Reference in New Issue