Skip to content

Commit

Permalink
fix: Server error on email confirmation view (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
syedsajjadkazmii authored Dec 3, 2024
1 parent 13b5b0a commit ec8f907
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ecommerce/extensions/offer/views.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import logging

from django.contrib.auth.mixins import LoginRequiredMixin
from django.http import Http404
from django.shortcuts import get_object_or_404
from django.views.generic import TemplateView
Expand All @@ -14,7 +15,7 @@
logger = logging.getLogger(__name__)


class EmailConfirmationRequiredView(TemplateView):
class EmailConfirmationRequiredView(LoginRequiredMixin, TemplateView):
template_name = 'edx/email_confirmation_required.html'

def get_context_data(self, **kwargs):
Expand Down

0 comments on commit ec8f907

Please sign in to comment.