Unsubscribe
Form to unsubscribe from marketing newsletters sent by the site.
Route name
unsubscribe
URL pattern
/account/unsubscribe
Layout
Form
Module
MyAccount
Page class
unsubscribe-form
Acceptance criteria
- If user id and email match valid user from database, success message shown, redirect to index
- If user id and email do not match valid user from database, error message shown, redirect to index
- If valid user from database is found, data protection value is changed to 0