Implement email verification view

This commit is contained in:
Kumi 2021-05-30 07:45:07 +02:00
parent 2c95e31e56
commit f77ec17cbf

View file

@ -12,6 +12,7 @@ from .mixins import SuperUserRequiredMixin
from clients.models import ClientProfile
from partners.models import PartnerProfile
from mail.views import MailView
class LoginView(Login):
template_name = "localauth/login.html"
@ -49,3 +50,7 @@ class VerificationView(SuperUserRequiredMixin, FormView):
messages.success(self.request, "Benutzer %s bestätigt!" % pobj.full_name)
return HttpResponseRedirect(resolve_url("localauth:verify"))
class EmailVerificationHTMLMailView(MailView):
template_name = "localauth/mail/verify.html"