mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 08:09:47 +02:00
MDL-60141 auth_email: Fix sitepolicy field type in get_signup_settings
This commit is contained in:
parent
32f9550e85
commit
ca90ed2109
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class auth_email_external extends external_api {
|
||||||
new external_value(PARAM_NOTAGS, 'The order of the name fields')
|
new external_value(PARAM_NOTAGS, 'The order of the name fields')
|
||||||
),
|
),
|
||||||
'passwordpolicy' => new external_value(PARAM_RAW, 'Password policy', VALUE_OPTIONAL),
|
'passwordpolicy' => new external_value(PARAM_RAW, 'Password policy', VALUE_OPTIONAL),
|
||||||
'sitepolicy' => new external_value(PARAM_URL, 'Site policy url', VALUE_OPTIONAL),
|
'sitepolicy' => new external_value(PARAM_RAW, 'Site policy', VALUE_OPTIONAL),
|
||||||
'defaultcity' => new external_value(PARAM_NOTAGS, 'Default city', VALUE_OPTIONAL),
|
'defaultcity' => new external_value(PARAM_NOTAGS, 'Default city', VALUE_OPTIONAL),
|
||||||
'country' => new external_value(PARAM_ALPHA, 'Default country', VALUE_OPTIONAL),
|
'country' => new external_value(PARAM_ALPHA, 'Default country', VALUE_OPTIONAL),
|
||||||
'profilefields' => new external_multiple_structure(
|
'profilefields' => new external_multiple_structure(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue