You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vitaliy-1 opened this issue
Sep 18, 2024
· 0 comments
Assignees
Labels
Bug:1:LowA bug that does not have a severe consequence or affects a small number of users.Try MeThis issue might be good for a new contributor. Can you help us?
Describe the bug
When user registers through the site and require_validation is turned on in the config, email is sent to the user for validation composed with USER_VALIDATE_SITE email template. Site title might be not set in settings, this leads to missing variable and the following email's body:
John Smith<br />
<br />
You have created an account with , but before you can start using it, you need to validate your email account. To do this, simply follow the link below:<br />
<br />
http://localhost:8000/index.php/index/en/invitation/accept...<br />
<br />
Thank you,<br />
<p>Open Journal Systems<br/></p>
There should be alternative in such cases, when site title is missing, either just substitute is with the platform name or re-word the template.
To Reproduce
Steps to reproduce the behavior:
Create at least 2 journals
Turn require_validation to on in the config file
Ensure the the email default mailer is set to log
Go to the registration form, fill the form and save it
See the warning regarding missing variable and the email text in the log
What application are you using?
OJS, OMP and OPS main branch
The text was updated successfully, but these errors were encountered:
Vitaliy-1
added
Bug:1:Low
A bug that does not have a severe consequence or affects a small number of users.
Try Me
This issue might be good for a new contributor. Can you help us?
labels
Sep 18, 2024
Bug:1:LowA bug that does not have a severe consequence or affects a small number of users.Try MeThis issue might be good for a new contributor. Can you help us?
Describe the bug
When user registers through the site and
require_validation
is turned on in the config, email is sent to the user for validation composed withUSER_VALIDATE_SITE
email template. Site title might be not set in settings, this leads to missing variable and the following email's body:There should be alternative in such cases, when site title is missing, either just substitute is with the platform name or re-word the template.
To Reproduce
Steps to reproduce the behavior:
require_validation
toon
in the config filedefault
mailer is set tolog
What application are you using?
OJS, OMP and OPS main branch
The text was updated successfully, but these errors were encountered: