🚸 reset verify state on successful subscribe
This commit is contained in:
parent
cdc4c5f2f9
commit
3eb5826189
|
@ -249,6 +249,9 @@
|
|||
if($success){
|
||||
$entry_key = ["list", $mail_address];
|
||||
|
||||
// remove from verify list
|
||||
$newsletter_db->unset(["verify_list", sha1($mail_address)]);
|
||||
|
||||
// generate unsubscribe key
|
||||
$unsubscribe_key = Id64::new(length: 16);
|
||||
|
||||
|
|
Loading…
Reference in New Issue