Describe the bug
Public event email unsubscribe link is not working for logged in users
To Reproduce
Steps to reproduce the behavior:
Create a public event in a public group (in the registration section, enable "Allow not-loggedin users to register?")
Attend to this event
Receive the "Event registration confirmation" email
In the email, click on the "If you no longer wish to attend the event" link
The event unsubscribe page is displayed
Click Submit button (without changing the email address)
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.
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:
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.