-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PC-77 Improvements to sign up & review process. #73
base: master
Are you sure you want to change the base?
Conversation
antonkatz
commented
Nov 13, 2015
- All admins listed in SignUpAdmins group should receive all new pending sign up requests.
- Upon approval, confirmation e-mail should be sent to the user.
- Upon request rejection an email needs to be sent to the user.
1. All admins listed in SignUpAdmins group should receive all new pending sign up requests. 2. Upon approval, confirmation e-mail should be sent to the user. 3. Upon request rejection an email needs to be sent to the user.
"userRealName": $realName.trim(), | ||
"userName": $userDoc.name, | ||
"adminName": $mainAdminName, | ||
"adminEmail": $mainAdminEmail, | ||
"platformName": "PhenomeCentral", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we include platformName
as a variable in the email template, if we use "PhenomeCentral" without referencing the variable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's how it's been. Plus, if it ever changes, we don't have to edit the template.
@@ -130,12 +191,44 @@ The ${platformName} team</p></html> | |||
<subject>Your account at PhenomeCentral has been approved</subject> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use platformName
here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting question. My gut tells me no, though.
Valid PR, needs final review. |
<p>Best wishes,<br> | ||
The ${platformName} team</p></html> | ||
<html><p>Dear ${userRealName},</p> | ||
<p>An account has been created for you on ${platformName}. If you forgot your password, please visit <a href="https://phenomecentral.org/XWiki/ResetPassword">https://phenomecentral.org/XWiki/ResetPassword</a> and enter your username ${userName}. Please do not hesitate to contact us if you experience any difficulties with your account.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any URL pointing to phenomecentral.org should be parametrized.