Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit 46078466 authored by chirac's avatar chirac

Merge branch 'reactivate_welcome_mail' into 'master'

Fix #136 : Reactivate the welcome mail

Closes #136

See merge request federez/re2o!178
parents 998d093c 8ea85f88
......@@ -1005,11 +1005,10 @@ class Club(User):
def user_post_save(**kwargs):
""" Synchronisation post_save : envoie le mail de bienvenue si creation
Synchronise le ldap"""
# is_created = kwargs['created']
is_created = kwargs['created']
user = kwargs['instance']
# TODO : remove if unnecessary
# if is_created:
# user.notif_inscription()
if is_created:
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