mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-50107-master' of git://github.com/jleyva/moodle
This commit is contained in:
commit
51a09cb43e
@ -31,6 +31,8 @@ $username = required_param('username', PARAM_USERNAME);
|
||||
$password = required_param('password', PARAM_RAW);
|
||||
$serviceshortname = required_param('service', PARAM_ALPHANUMEXT);
|
||||
|
||||
// Allow CORS requests.
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
echo $OUTPUT->header();
|
||||
|
||||
if (!$CFG->enablewebservices) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user