Commit 150b6e66 authored by Jonny Bradley's avatar Jonny Bradley

[FIX] registration: Send correct waiting message to the new user depending on...

[FIX] registration: Send correct waiting message to the new user depending on validateRegistration setting
parent 9a75f49a
......@@ -368,7 +368,11 @@ class RegistrationLib extends TikiLib
if (!$pending) {
$logslib->add_log('register', 'created account ' . $registration['name']);
$result=$smarty->fetch('mail/user_validation_msg.tpl');
if ($this->merged_prefs['validateRegistration'] == 'y') {
$result=$smarty->fetch('mail/user_validation_waiting_msg.tpl');
} else {
$result=$smarty->fetch('mail/user_validation_msg.tpl');
}
}
} else {
if (!$confirmed) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment