-
Bug
-
Resolution: Fixed
-
Minor
-
3.8.1
-
MOODLE_38_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MDL-68060-master-huburlcompare -
-
Normally, Moodle sites register with https://stats.moodle.org.
When we need to test new registration features or bug fixes, the constant "HUB_MOODLEORGHUBURL" can be pre-defined in the config.php to contain the alternative URL of the test hub installation.
During the registration, it is checked that the site was actually registered with the expected directory. To do so, we at the moment simply compare the URL provided by the directory, with the value of the constant.
This is a problem. We use the HTTP BasicAuth at our testing / staging sites. And so, we would need to define the testing directory URL like (this is an example):
define('HUB_MOODLEORGHUBURL', 'https://testuser:testpasswd@test-stats.moodle.org'); |
But then, the registration does not work because the string
https://testuser:testpasswd@test-stats.moodle.org
does not match the URL reported by the directory (without the auth credentials)
https://test-stats.moodle.org
- blocks
-
MDL-67752 Add new "activeusers" field containing last month active users in registration data
- Closed