summaryrefslogtreecommitdiffstats
path: root/parsers/users.py
diff options
context:
space:
mode:
Diffstat (limited to 'parsers/users.py')
-rw-r--r--parsers/users.py9
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()