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
@@ -186,7 +186,7 @@
if (isadmin()) {
if (!empty($usernew->newpassword)) {
$usernew->password = md5($usernew->newpassword);
$usernew->password = hash_internal_user_password($usernew->newpassword);
// update external passwords
if (!empty($CFG->{'auth_'. $user->auth.'_stdchangepassword'})) {
if (function_exists('auth_user_update_password')){