You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the bug and steps to reproduce:
When adding a list to a subscriber via the PUT endpoint with preconfirm_subscriptions, the list subscriptions won't be confirmed and also a confirmation email is sent.
Version:
Description of the bug and steps to reproduce:
When adding a list to a subscriber via the PUT endpoint with
preconfirm_subscriptions
, the list subscriptions won't be confirmed and also a confirmation email is sent.Checking for preconfirmation is currently only implemented for the
POST
endpoint, i.e. here:https://github.com/knadh/listmonk/blob/master/cmd/subscribers.go#L682
Probably, there should be something like
if !req.PreconfirmSubs {
before this line, as well as setting the confirmation status for these subscriptions:https://github.com/knadh/listmonk/blob/master/cmd/subscribers.go#L348
Steps to reproduce
For a user having e.g. no list subscriptions, this call will create unconfirmed subscriptions and send out emails:
This call however will create confirmed subscriptions and not send emails:
The text was updated successfully, but these errors were encountered: