Revision 8fb8d0cf snf-astakos-app/astakos/im/activation_backends.py
b/snf-astakos-app/astakos/im/activation_backends.py | ||
---|---|---|
387 | 387 |
if result.status == self.Result.PENDING_MODERATION: |
388 | 388 |
logger.info("Sending notifications for user" |
389 | 389 |
" verification: %s", user.log_display) |
390 |
functions.send_account_pending_moderation_notification(user, |
|
391 |
self.pending_moderation_template_name) |
|
390 |
functions.send_account_pending_moderation_notification( |
|
391 |
user, |
|
392 |
self.pending_moderation_template_name) |
|
392 | 393 |
# TODO: notify user |
393 | 394 |
|
394 | 395 |
if result.status == self.Result.ACCEPTED: |
395 | 396 |
logger.info("Sending notifications for user" |
396 | 397 |
" moderation: %s", user.log_display) |
397 |
functions.send_account_activated_notification(user, |
|
398 |
self.activated_email_template_name) |
|
398 |
functions.send_account_activated_notification( |
|
399 |
user, |
|
400 |
self.activated_email_template_name) |
|
399 | 401 |
functions.send_greeting(user, |
400 | 402 |
self.greeting_template_name) |
401 | 403 |
# TODO: notify admins |
Also available in: Unified diff