mirror of
https://github.com/tmdinosaurcenter/kiosk-guestbook.git
synced 2026-06-04 03:07:45 -06:00
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:
@@ -115,7 +115,6 @@ def index():
|
|||||||
)
|
)
|
||||||
conn.commit()
|
conn.commit()
|
||||||
conn.close()
|
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)
|
logger.info("Added guest: %s %s from %s", first_name, last_name, location)
|
||||||
return redirect(url_for('index'))
|
return redirect(url_for('index'))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user