summaryrefslogtreecommitdiffstats
path: root/core/views/auth.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-01-25 19:56:36 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-01-25 19:56:36 +0000
commit0d105d40dabf9079dad98cdf01d15179c88a00b2 (patch)
treea670559cf0831ea757f11dcd6ea93865c435a585 /core/views/auth.py
parentc479345b6c2bed95b5228c5a25bfae8a159b2596 (diff)
downloadtroggle-0d105d40dabf9079dad98cdf01d15179c88a00b2.tar.gz
troggle-0d105d40dabf9079dad98cdf01d15179c88a00b2.tar.bz2
troggle-0d105d40dabf9079dad98cdf01d15179c88a00b2.zip
Signup form now saving data (and encrypting it)
Diffstat (limited to 'core/views/auth.py')
-rw-r--r--core/views/auth.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/core/views/auth.py b/core/views/auth.py
index db17ae3..689e645 100644
--- a/core/views/auth.py
+++ b/core/views/auth.py
@@ -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 #