ColdTrick / event_manager

Manage events in Elgg
https://elgg.org/plugins/736695
27 stars 37 forks source link

Public event email unsubscribe link is not working for logged in users #169

Closed oseg closed 2 years ago

oseg commented 2 years ago

Elgg version Elgg v4.1

Plugin version Event manager v13.0.2

Plugin source Composer installation

Describe the bug Public event email unsubscribe link is not working for logged in users

To Reproduce Steps to reproduce the behavior:

  1. Create a public event in a public group (in the registration section, enable "Allow not-loggedin users to register?")
  2. Attend to this event
  3. Receive the "Event registration confirmation" email
  4. In the email, click on the "If you no longer wish to attend the event" link
  5. The event unsubscribe page is displayed
  6. Click Submit button (without changing the email address)
  7. See "No registration could be found for the supplied e-mail address" error

Expected behavior This unsubscribe link should not be displayed in "Event registration confirmation" email if user is logged in. This link is intend to external users.