Permalink
Browse files

UI for admin to change authentication method for given user

  • Loading branch information...
1 parent 81d425b commit 7098a2c06b6975714c9d0e0fea255b7e8bbb8a3a fiedorow committed Sep 16, 2004
Showing with 9 additions and 0 deletions.
  1. +9 −0 user/edit.html
View
@@ -34,6 +34,15 @@
echo " </td>";
echo "</tr>\n";
+ $modules = get_list_of_plugins("auth");
+ foreach ($modules as $module) {
+ $auth_options[$module] = get_string("auth_$module"."title", "auth");
+ }
+ echo '<tr valign="top">';
+ echo '<td align="right">' . get_string("chooseauthmethod","auth") . ':</td>' . "\n<td>";
+ choose_from_menu ($auth_options, "auth",$user->auth);
+ echo "</td></tr>\n";
+
if ($adminself || is_internal_auth($user->auth) ){
echo "<tr valign=\"top\">";
echo "<td align=\"right\"> ".get_string("newpassword").": </td>";

0 comments on commit 7098a2c

Please sign in to comment.