Fixed cookie value

This commit is contained in:
Jonathan Ervine 2020-11-20 21:45:04 +08:00
parent 734ae1c7e6
commit e5337a204b

View File

@ -249,7 +249,7 @@ def hkfcD_vote_thanks():
#sql_write(sql)
#sql_write(sql2)
resp = make_response(render_template('_hkfcDVoteThanks.html'))
resp.set_cookie('sessionID', id_commit)
resp.set_cookie('sessionID', identity)
return resp
else:
return 'Ouch ... something went wrong here'