Skip to content

Commit

Permalink
Allow authentication method to be specified in bulk upload
Browse files Browse the repository at this point in the history
  • Loading branch information
fiedorow committed Feb 16, 2005
1 parent fc960bc commit 897a73a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions admin/uploaduser.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
"department" => 1, "department" => 1,
"city" => 1, "city" => 1,
"country" => 1, "country" => 1,
"lang" => 1, "lang" => 1,
"auth" => 1,
"timezone" => 1); "timezone" => 1);
$optional = array("idnumber" => 1, $optional = array("idnumber" => 1,
"icq" => 1, "icq" => 1,
Expand Down Expand Up @@ -163,7 +164,6 @@
$user->{$name} = addslashes($value); $user->{$name} = addslashes($value);
} }
} }
$user->auth = 'manual';
$user->confirmed = 1; $user->confirmed = 1;
$user->timemodified = time(); $user->timemodified = time();
$linenum++; $linenum++;
Expand Down
2 changes: 1 addition & 1 deletion lang/en/help/uploadusers.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<font color="#990000" face="Courier New, Courier, mono">username, password, firstname, lastname, email</font></p> <font color="#990000" face="Courier New, Courier, mono">username, password, firstname, lastname, email</font></p>
</p> </p>
<p><strong>Default fieldnames:</strong> these are optional - if they are not included then the values are taken from the primary admin</p> <p><strong>Default fieldnames:</strong> these are optional - if they are not included then the values are taken from the primary admin</p>
<p><font color="#990000" face="Courier New, Courier, mono">institution, department, city, country, lang, timezone</font> </p> <p><font color="#990000" face="Courier New, Courier, mono">institution, department, city, country, lang, auth, timezone</font> </p>
<p><strong>Optional fieldnames: </strong>all of these are completely optional. The course names are the &quot;shortnames&quot; of the courses - if present then the user will be enrolled as students in those courses. Group names must be associated to the corresponding courses, i.e. group1 to course1, etc.</p> <p><strong>Optional fieldnames: </strong>all of these are completely optional. The course names are the &quot;shortnames&quot; of the courses - if present then the user will be enrolled as students in those courses. Group names must be associated to the corresponding courses, i.e. group1 to course1, etc.</p>
<p> <font color="#990000" face="Courier New, Courier, mono">idnumber, icq, phone1, phone2, address, url, description, mailformat, maildisplay, htmleditor, autosubscribe, course1, course2, course3, course4, course5, group1, group2, group3, group4, group5</font></p> <p> <font color="#990000" face="Courier New, Courier, mono">idnumber, icq, phone1, phone2, address, url, description, mailformat, maildisplay, htmleditor, autosubscribe, course1, course2, course3, course4, course5, group1, group2, group3, group4, group5</font></p>
</blockquote> </blockquote>
Expand Down

0 comments on commit 897a73a

Please sign in to comment.