From: fiedorow Date: Thu, 16 Sep 2004 01:45:20 +0000 (+0000) Subject: UI for admin to change authentication method for given user X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7098a2c06b6975714c9d0e0fea255b7e8bbb8a3a;p=moodle.git UI for admin to change authentication method for given user --- diff --git a/user/edit.html b/user/edit.html index 4a64b1a340..0f4af6d61b 100644 --- a/user/edit.html +++ b/user/edit.html @@ -34,6 +34,15 @@ if (isadmin()) { echo " "; echo "\n"; + $modules = get_list_of_plugins("auth"); + foreach ($modules as $module) { + $auth_options[$module] = get_string("auth_$module"."title", "auth"); + } + echo ''; + echo '' . get_string("chooseauthmethod","auth") . ':' . "\n"; + choose_from_menu ($auth_options, "auth",$user->auth); + echo "\n"; + if ($adminself || is_internal_auth($user->auth) ){ echo ""; echo " ".get_string("newpassword").": ";