2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-17 04:47:03 +00:00

Signup form now saving data (and encrypting it)

This commit is contained in:
2025-01-25 19:56:36 +00:00
parent c479345b6c
commit 0d105d40da
7 changed files with 190 additions and 44 deletions

View File

@@ -23,19 +23,10 @@ class login_required_if_public(object):
def __call__(self, *args, **kwargs):
return self.f(*args, **kwargs)
# This is copied from CUYC.cuy.website.view.auth
# If we want to do the whole online-email thing, we would also need to copy across the code in these
# imported files and delete what is superfluous.
# Or we could just load the latest version of django-registration app.
# from cuy.club.models import Member, Message
# from ..forms import WebsiteLoginForm, WebsiteRegisterForm
# from ...common import mail_site_error
# from .generic import user_is_active
"""The login and logout functions.
This is also where we would manage registration: for people wanting to create and validate their individual
logon accounts/forgottenpassword"""
TO DO : check that we don't have another set of these active somewhere
"""
############################
# Authentication Functions #