Commit 7db674f6 authored by Tristan Cavelier's avatar Tristan Cavelier Committed by Cédric Le Ninivin

free_subscription: validate new newsletter subscriber persons

parent 05bc1511
...@@ -80,6 +80,7 @@ elif context.getDefaultEmailCoordinateText():\n ...@@ -80,6 +80,7 @@ elif context.getDefaultEmailCoordinateText():\n
default_email_text=email,\n default_email_text=email,\n
title=email,\n title=email,\n
)\n )\n
person.validate()\n
elif person.getReference():\n elif person.getReference():\n
context.reject(comment="Person already in the user data base")\n context.reject(comment="Person already in the user data base")\n
return\n return\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment