Commit Graph

5 Commits

Author SHA1 Message Date
John Oleksowicz
fc1f3e6dc2 Inline generateToken for clarity
The only thing Security::generateToken was providing was a default value
 for the $action, which created a pattern of using the same $action
 everywhere, which may not be the best way to go.

 Since it was essentially a wrapper for WP's built-in nonce functions,
 it seemed clearer to use those functions directly to be more explicit
 about how we're handling tokens.

[MAILPOET-2030]
2022-04-11 10:29:35 +02:00
Brezo Cordero
bfa9a98df6 Do not display form if logged in and registered to any segment.
[MAILPOET-3059]
2022-02-23 15:22:24 +01:00
Brezo Cordero
8c70069064 Add selection in form editor for cookie expiration time.
[MAILPOET-3059]
2022-02-23 15:22:24 +01:00
Brezo Cordero
250988163c Per form cookie and expiration date
Add expiration date and change popup_form_dismissed to per form cookie on public.js.

[MAILPOET-3059]
2022-02-23 15:22:24 +01:00
Jan Jakes
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00