Revision 3abf6c78 snf-astakos-app/astakos/im/activation_backends.py

b/snf-astakos-app/astakos/im/activation_backends.py
104 104
    def handle_activation(self, user, \
105 105
                          activation_template_name='im/activation_email.txt', \
106 106
                          greeting_template_name='im/welcome_email.txt', \
107
                          admin_email_template_name='im/admin_notification.txt', \
107
                          admin_email_template_name='im/account_notification.txt', \
108 108
                          switch_accounts_email_template_name='im/switch_accounts_email.txt'):
109 109
        """
110 110
        If the user is already active returns immediately.
......
132 132
                    send_activation(user, activation_template_name)
133 133
                    return VerificationSent()
134 134
            else:
135
                send_admin_notification(user, admin_email_template_name)
135
                send_admin_notification(
136
                    template_name=admin_email_template_name,
137
                    dictionary={'user':user, 'group_creation':True},
138
                    subject='%s alpha2 testing account notification' % SITENAME
139
                )
136 140
                return NotificationSent()
137 141
        except BaseException, e:
138 142
            logger.exception(e)

Also available in: Unified diff