From 7098a2c06b6975714c9d0e0fea255b7e8bbb8a3a Mon Sep 17 00:00:00 2001 From: fiedorow Date: Thu, 16 Sep 2004 01:45:20 +0000 Subject: [PATCH] UI for admin to change authentication method for given user --- user/edit.html | 9 +++++++++ 1 file changed, 9 insertions(+) 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").": "; -- 2.39.5