Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
b5883736
Commit
b5883736
authored
Dec 05, 2017
by
Brendan Heywood
Committed by
Simey Lameze
Dec 12, 2017
Browse files
MDL-60968 auth: Allow more flexibility with mapping attributes
parent
109aa076
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/authlib.php
View file @
b5883736
...
...
@@ -1049,7 +1049,7 @@ function display_auth_lock_options($settings, $auth, $userfields, $helptext, $ma
// We are mapping to a remote field here.
// Mapping.
$settings
->
add
(
new
admin_setting_configtext
(
"auth_
{
$auth
}
/field_map_
{
$field
}
"
,
get_string
(
'auth_fieldmapping'
,
'auth'
,
$fieldname
),
''
,
''
,
PARAM_
ALPHANUMEXT
,
30
));
get_string
(
'auth_fieldmapping'
,
'auth'
,
$fieldname
),
''
,
''
,
PARAM_
RAW
,
30
));
// Update local.
$settings
->
add
(
new
admin_setting_configselect
(
"auth_
{
$auth
}
/field_updatelocal_
{
$field
}
"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment