From a9434092adc499c7b7bbab100cd09c5ca02e628e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 20 Nov 2017 05:49:17 +0400 Subject: Initial commit --- settings.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 settings.php (limited to 'settings.php') diff --git a/settings.php b/settings.php new file mode 100644 index 0000000..441dc60 --- /dev/null +++ b/settings.php @@ -0,0 +1,32 @@ +. + +/** + * Admin settings and defaults. + * + * @package auth_token + * @copyright 2017 "Valentin Popov" + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +defined("MOODLE_INTERNAL") || die(); + +if ($ADMIN->fulltree) { + /* Display locking / mapping of profile fields */ + $authplugin = get_auth_plugin("token"); + display_auth_lock_options($settings, $authplugin->authtype, $authplugin->userfields, + new lang_string("auth_fieldlocks_help", "auth"), false, false); +} \ No newline at end of file -- cgit v1.2.3