diff --git a/auth/cas/config.html b/auth/cas/config.html
index 81894eab743..4781cb90ffa 100644
--- a/auth/cas/config.html
+++ b/auth/cas/config.html
@@ -437,6 +437,6 @@ $help .= get_string('auth_updateremote_expl', 'auth');
$help .= '
';
$help .= get_string('auth_updateremote_ldap', 'auth');
-print_auth_lock_options('cas', $user_fields, $help, true, true);
+print_auth_lock_options($this->authtype, $user_fields, $help, true, true);
?>
diff --git a/auth/db/config.html b/auth/db/config.html
index 63d014ce2c1..94d981b92c6 100644
--- a/auth/db/config.html
+++ b/auth/db/config.html
@@ -269,7 +269,7 @@
authtype, $user_fields, get_string('auth_dbextrafields', 'auth_db'), true, true);
?>
diff --git a/auth/fc/config.html b/auth/fc/config.html
index 9f44af172da..91dd8c8b8ba 100644
--- a/auth/fc/config.html
+++ b/auth/fc/config.html
@@ -97,7 +97,7 @@
authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
diff --git a/auth/imap/config.html b/auth/imap/config.html
index d604b478bcb..d88ad3a8e0b 100644
--- a/auth/imap/config.html
+++ b/auth/imap/config.html
@@ -87,7 +87,7 @@ if (!isset($config->changepasswordurl)) {
authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
diff --git a/auth/ldap/config.html b/auth/ldap/config.html
index 25c6786b2ba..72519c734a6 100644
--- a/auth/ldap/config.html
+++ b/auth/ldap/config.html
@@ -547,6 +547,6 @@ $help .= get_string('auth_updateremote_expl', 'auth');
$help .= '
';
$help .= get_string('auth_updateremote_ldap', 'auth');
-print_auth_lock_options('ldap', $user_fields, $help, true, true);
+print_auth_lock_options($this->authtype, $user_fields, $help, true, true);
?>
diff --git a/auth/manual/config.html b/auth/manual/config.html
index 9caa5917d2d..8c03ce00a8e 100644
--- a/auth/manual/config.html
+++ b/auth/manual/config.html
@@ -1,5 +1,5 @@
authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
diff --git a/auth/mnet/config.html b/auth/mnet/config.html
index 5fc988b01f3..2dbba3f0624 100644
--- a/auth/mnet/config.html
+++ b/auth/mnet/config.html
@@ -88,7 +88,7 @@ foreach($service_providers as $host) {
authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
diff --git a/auth/nntp/config.html b/auth/nntp/config.html
index 5d50324261a..179efdd4367 100644
--- a/auth/nntp/config.html
+++ b/auth/nntp/config.html
@@ -68,7 +68,7 @@ if (!isset($config->changepasswordurl)) {
authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
diff --git a/auth/none/config.html b/auth/none/config.html
index abeada05246..0068836ecb2 100644
--- a/auth/none/config.html
+++ b/auth/none/config.html
@@ -4,7 +4,7 @@
authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
diff --git a/auth/pam/config.html b/auth/pam/config.html
index f2f6f1a46f3..0068836ecb2 100644
--- a/auth/pam/config.html
+++ b/auth/pam/config.html
@@ -4,7 +4,7 @@
authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
diff --git a/auth/pop3/config.html b/auth/pop3/config.html
index 8726b286173..e2d7e7a0eb8 100644
--- a/auth/pop3/config.html
+++ b/auth/pop3/config.html
@@ -105,7 +105,7 @@ if (!isset($config->changepasswordurl)) {
authtype, $user_fields, get_string('auth_fieldlocks_help', 'auth'), false, false);
?>
diff --git a/auth/shibboleth/config.html b/auth/shibboleth/config.html
index b15b17a038e..8eff5f29d78 100644
--- a/auth/shibboleth/config.html
+++ b/auth/shibboleth/config.html
@@ -138,7 +138,7 @@ urn:mace:organization2:providerID, Example Organization 2, /Shibboleth.sso/WAYF/
', true, false);
+print_auth_lock_options($this->authtype, $user_fields, '', true, false);
?>