password handling refactoring and added conversion of passwords to unicode

This commit is contained in:
skodak
2006-03-11 11:26:36 +00:00
parent c5b71097bc
commit df1931578a
12 changed files with 91 additions and 57 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
$user->firstname = get_string("admin");
$user->lastname = get_string("user");
$user->username = "admin";
$user->password = md5("admin");
$user->password = hash_internal_user_password("admin");
$user->email = "root@localhost";
$user->confirmed = 1;
$user->lang = $CFG->lang;