diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-01-26 14:12:19 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-01-26 14:12:19 +0000 |
commit | 288ce80e074174654eabd6d92c541cc90dcdc99e (patch) | |
tree | 81eb8905242ff02409b1290ba8f8a56a93bfa569 /parsers | |
parent | 3ad75d4439ae0d8bc1580c0494cdacd62b1d9a58 (diff) | |
download | troggle-288ce80e074174654eabd6d92c541cc90dcdc99e.tar.gz troggle-288ce80e074174654eabd6d92c541cc90dcdc99e.tar.bz2 troggle-288ce80e074174654eabd6d92c541cc90dcdc99e.zip |
Signup now saves list for bierbook & commits chnages
Diffstat (limited to 'parsers')
-rw-r--r-- | parsers/users.py | 9 |
1 files changed, 9 insertions, 0 deletions
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() |