Add debug warning
This commit is contained in:
parent
a2961e05c5
commit
58cd67cc1a
@ -273,6 +273,7 @@ def hkfcD_vote_thanks():
|
||||
else:
|
||||
identity = randomUrlSuffix(8)
|
||||
user_agent = request.headers.get('User-Agent')
|
||||
warn("Identity and User-Agent set")
|
||||
id_commit = "INSERT INTO motmSessions (sessionID) VALUES ('" + identity + "')"
|
||||
ua_commit = "INSERT INTO motmSessions (userAgent) VALUES ('" + user_agent + "')"
|
||||
sql_write(id_commit)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user