HCoop
/
clinton
/
MarylandElectronicPetitionSignature.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10dcda2
)
Update reset.php
author
Patrick McGuire
<insidenothing@gmail.com>
Thu, 21 May 2020 15:46:10 +0000
(11:46 -0400)
committer
GitHub
<noreply@github.com>
Thu, 21 May 2020 15:46:10 +0000
(11:46 -0400)
reset.php
patch
|
blob
|
blame
|
history
diff --git
a/reset.php
b/reset.php
index
72192d0
..
7fd0288
100644
(file)
--- a/
reset.php
+++ b/
reset.php
@@
-1,4
+1,5
@@
<?PHP
+$save_invite = $_COOKIE['invite'];
/* delete ALL cookies */
foreach ( $_COOKIE as $key => $value ){
unset($_COOKIE[$key]);
@@
-14,5
+15,6
@@
if (isset($_SERVER['HTTP_COOKIE'])) {
setcookie($name, '', time()-1000, '/');
}
}
+setcookie("invite", $save_invite);
header('Location: index.php');
?>