Skip to content

Commit

Permalink
Merge pull request #42 from cis3296s24/sessionid_fix
Browse files Browse the repository at this point in the history
clear cookies
  • Loading branch information
nina-perone authored Apr 23, 2024
2 parents 7257c05 + c57a97e commit 503a381
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions receiptifyv1/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ app.get('/callback', function (req, res) {
sessionIDString = 'sessionID'
if (req.cookies[sessionIDString] != null){
sessionID = req.cookies[sessionIDString];
res.cookie(sessionIDString, '', { maxAge: 0 });
res.clearCookie(sessionIDString);
}

//res.sendFile(__dirname + '/public/join.html');
Expand Down
6 changes: 1 addition & 5 deletions receiptifyv1/users.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@


✧ jizzica ✧,BQBgPzh3R_Kro573KV7alDS0O74nCpx4WW8Xgj18Hp1AQE_ijZFkXsAneOIMF08SuHgfc2Ml_KrfykOjZ9Vxw_n8wc1wTwaqEGd358S21EXMo07-4WdlX3EPDyGqWoFQBcerzJ1hIyKBYb5HqH92WyaAi_laxxZSxkWaOTcgxVulWxVly-4XMvaI9VV3KuHt_JIZjbS8ontGZ3G35PDOLiFB6q5TawNbuTsBR48,261818,1713808836632,
✧ jizzica ✧,BQCrWoS_r3XRI3QaFaZ8lu-zR8W5RRxhLTlnNNJSVuYTyyc_LfZ1GfXqznB7iLb2sEhMr2TH28fcFW7R_pwas8147CwjxJcN5DYOdM41Pf2pazAlLUd1sls0trEuThcC9u8mJIb01RvAOFtVJFhHpB-DfCORDUVZykLrwwSs-V_yQ-9uDbo8vdjBlfLZnQo98BVvRvfc1yQOTMPbhqsbzSRW89tciuY-4LF6dW0,261818,1713808847899,


0 comments on commit 503a381

Please sign in to comment.