Registration: email sent to devel[temporary] + cc the requestor
authorYasin <mohammed-yasin.rahman@lip6.fr>
Thu, 26 Sep 2013 13:26:20 +0000 (15:26 +0200)
committerYasin <mohammed-yasin.rahman@lip6.fr>
Thu, 26 Sep 2013 13:26:20 +0000 (15:26 +0200)
portal/registrationview.py

index 90c1c41..59f0802 100644 (file)
@@ -113,10 +113,10 @@ class RegistrationView (View):
                     'keypair'      : keypair,
                     'cc_myself'    : True # form.cleaned_data['cc_myself']
                     }
-
-                recipients = authority_get_pi_emails(request,reg_auth)
-                if ctx['cc_myself']:
-                    recipients.append(ctx['email'])
+                #not working
+                #recipients = authority_get_pi_emails(request,reg_auth)
+                recipients = 'devel@myslice.info'
+                recipients.append(ctx['email'])
 
                 msg = render_to_string('user_request_email.txt', ctx)
                 send_mail("Onelab New User request for %s submitted"%reg_email, msg, reg_email, recipients)