From 288ce80e074174654eabd6d92c541cc90dcdc99e Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 26 Jan 2025 14:12:19 +0000 Subject: Signup now saves list for bierbook & commits chnages --- parsers/users.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'parsers/users.py') diff --git a/parsers/users.py b/parsers/users.py index f3947ff..97d06a0 100644 --- a/parsers/users.py +++ b/parsers/users.py @@ -21,6 +21,10 @@ Passwords are only ever stored as hashes using the standard Django functions. todo = """ - Not fully tested, needs experience + +- Need to write to BierBook for signups + +- Need to check/register with lists.wookware.org for email """ USERS_FILE = "users.json" @@ -74,6 +78,11 @@ def get_encryptor(): def load_users(): """These are the previously registered users of the troggle system. + It loads then from JSON permanent storage into the database. + It does allow unencrypted emails in the import, if labelled as such, but only + stores encrypted emails. + It refreshes the JSON every time this functionis called, to allow + for password rotation in the future. """ PARSER_USERS = "_users" DataIssue.objects.filter(parser=PARSER_USERS).delete() -- cgit v1.2.3