git://git.onelab.eu
/
myslice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
88cc2d3
)
REG: email is not cced to user. only to PIs
author
Yasin
<mohammed-yasin.rahman@lip6.fr>
Tue, 21 Jan 2014 10:02:01 +0000
(11:02 +0100)
committer
Yasin
<mohammed-yasin.rahman@lip6.fr>
Tue, 21 Jan 2014 10:02:01 +0000
(11:02 +0100)
portal/registrationview.py
patch
|
blob
|
history
diff --git
a/portal/registrationview.py
b/portal/registrationview.py
index
e068aec
..
26f9e67
100644
(file)
--- a/
portal/registrationview.py
+++ b/
portal/registrationview.py
@@
-169,12
+169,13
@@
class RegistrationView (FreeAccessView):
'email' : reg_email,
'user_hrn' : user_hrn,
'public_key' : public_key,
'email' : reg_email,
'user_hrn' : user_hrn,
'public_key' : public_key,
- 'cc_myself' : True # form.cleaned_data['cc_myself']
}
recipients = authority_get_pi_emails(request,reg_auth)
}
recipients = authority_get_pi_emails(request,reg_auth)
-
- if ctx['cc_myself']:
- recipients.append(ctx['email'])
+
+ # We don't need to send this email to user.
+ # it's for the PI only
+ #if ctx['cc_myself']:
+ # 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, 'support@myslice.info', recipients)
msg = render_to_string('user_request_email.txt', ctx)
send_mail("Onelab New User request for %s submitted"%reg_email, msg, 'support@myslice.info', recipients)