Wagtail: Create registration page with e-mail and verify

1.8k views Asked by At

How could I add a link to a page with SignIn via e-mail and then send a verification e-mail? I want to add a user to Wagtail, create group, site with name of the user. Why Wagtail doesn't have a module for that membership site?

2

There are 2 answers

0
addohm On

I know this post is a bit old but it should be updated. Wagtail makes use of django's in-built auth views.

Wagtail uses Django’s standard django.contrib.auth.views.LoginView view here, and so the context variables available on the template are as detailed in Django's login view documentation.

http://docs.wagtail.io/en/v2.6.1/advanced_topics/privacy.html#setting-up-a-login-page

That said, it should be pretty straight forward. Set up auth as you normally would for a django project, and make your own templates.

https://docs.djangoproject.com/en/2.2/topics/auth/default/#using-the-django-authentication-system

1
Cristián On