pytition / Pytition

Django app for self-hosted privacy-friendly online petitions
https://pytition.org
BSD 3-Clause "New" or "Revised" License
99 stars 28 forks source link

Have Pytition send an email upon account registration #252

Closed fallen closed 3 years ago

fallen commented 3 years ago

Several people were disturbed by the fact that they received 0 email when they created their account, even though it was successful. They didn't have the idea to just login.

So let's make pytition send an email with something simple like "congratulations !! You successfully created your account !! Your login is something"

fallen commented 3 years ago

@lpoujade Could you also add the new configuration option to the documentation please? It's just a matter of adding .. autodata:: pytition.settings.base.DEFAULT_NOREPLY_MAIL to doc/configuration.rst And then to add documentation style comment on top of DEFAULT_NOREPLY_MAIL using the following syntax:

#:| This is the documentation for DEFAULT_NOREPLY_MAIL
#:| It can be multi-line
DEFAULT_NOREPLY_MAIL = "noreply@domain.tld"

You can create a new ticket for that if you want :)

lpoujade commented 3 years ago

yes i'll do that !