Skip to content

Commit 0d5d87f

Browse files
committed
dont need to do this anymore
1 parent 502a6a3 commit 0d5d87f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

core/routes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,6 @@ async def email_subscribe(request):
387387

388388
@root.get('/schoolweek/unsubscribe/<email>')
389389
async def email_unsubscribe(request, email):
390-
# TODO: somehow verify that the person visiting the link is actually the person who owns the email
391390
async with open_db_connection(request.app) as conn:
392391
await conn.execute('DELETE FROM mailing_list WHERE email = $1', email)
393392
return add_message(request, 'success', 'Your email has been removed from mailing list.', '/schoolweek')

0 commit comments

Comments
 (0)