Bug 1846 - Platform administration: Removing irrelevant that prevents accessing "Setting the registration page".

skala
Ivan Tcholakov 15 years ago
parent 6e75aa5634
commit bc6f95beb9
  1. 3
      documentation/changelog.html
  2. 10
      main/admin/configure_inscription.php

@ -89,6 +89,9 @@
<li>Wiki: Fixed links with accents and special characters do not work well in utf-8 #2286</li>
<li>A student can edit a file through url into documents tool after visit his/her group #2485</li>
<li>Social network to run from 1024x768 #1958</li>
<li>Irrelevant check has been removed, it prevented the page "Administration &gt; Setting the registration page" to be accessed
in the case of assigned value "No" to the setting "Administration &gt; Configuration settings &gt; Portal &gt; Registration".
This bug has been reported by Wolfgang in the forum and by Oliver Corre in the Chamilo support site (Bug #1846)</li>
</ul>
<h3>Security</h3>

@ -163,10 +163,12 @@ echo '<div class="actions-title">';
echo $tool_name;
echo '</div>';
// Forbidden to self-register
if (get_setting('allow_registration') == 'false') {
api_not_allowed();
}
// The following security condition has been removed, because it makes no sense here. See Bug #1846.
//// Forbidden to self-register
//if (get_setting('allow_registration') == 'false') {
// api_not_allowed();
//}
//api_display_tool_title($tool_name);
if (get_setting('allow_registration') == 'approval') {
Display::display_normal_message(get_lang('YourAccountHasToBeApproved'));

Loading…
Cancel
Save