MDL-58220 oauth2: use PARAM_RAW_TRIMMED

Client ID and secret and copy/pasted from elsewhere so trim them.
This commit is contained in:
Damyon Wiese
2017-04-03 13:43:25 +08:00
parent bfc60d386d
commit 4a32445dc9
+2 -2
View File
@@ -53,11 +53,11 @@ class issuer extends persistent {
'default' => null
),
'clientid' => array(
'type' => PARAM_RAW,
'type' => PARAM_RAW_TRIMMED,
'default' => ''
),
'clientsecret' => array(
'type' => PARAM_RAW,
'type' => PARAM_RAW_TRIMMED,
'default' => ''
),
'baseurl' => array(