Keep PII logging as intentional — close #8

Logging guest name and location is appropriate here: visitors knowingly
submit this info for a newsletter, and the log is useful for confirming
submissions and debugging on an intranet-only kiosk.
This commit is contained in:
2026-03-09 20:19:28 -06:00
parent 0c4d3ab15d
commit a178e6193b
-1
View File
@@ -115,7 +115,6 @@ def index():
)
conn.commit()
conn.close()
# TODO: Logging full name and location is PII. Consider omitting or hashing before logging.
logger.info("Added guest: %s %s from %s", first_name, last_name, location)
return redirect(url_for('index'))