Two-step action links in email broken [FIXED]
-
Hi!
I discovered that two-step action links do not work properly any more. This feature is broken since 3.6.x, but it used to work in 3.5.x. The problem is that if such links are used, users are never asked for confirmation even if this feature is enabled in settings.
I did some debugging and fixed this issue in my code. I’m sharing my findings and code here:
In easy-appointments/src/mail.php line 167:
OLD// check maybe it is a two step process if (empty($_POST['confirmed']) && (!empty($_POST['confirmed']) && $_POST['confirmed'] !== 'true')) { $this->link_action_additional_step($_GET['_ea-action'], $data); }
NEW
// check maybe it is a two step process if (empty($_POST['confirmed']) && $_POST['confirmed'] !== 'true') { $this->link_action_additional_step($_GET['_ea-action'], $data); }
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Two-step action links in email broken [FIXED]’ is closed to new replies.