Fix: clear passwords were being encoded with blowfish by default

This commit is contained in:
Deon George
2009-08-28 23:57:45 +10:00
parent c69cd68fcb
commit 96bad27d64
2 changed files with 11 additions and 11 deletions

View File

@@ -2376,8 +2376,8 @@ function deleteAttribute(attrName,friendlyName,i)
$id,htmlspecialchars($attribute->getName()),$i,
$id,htmlspecialchars($attribute->getName()),$i);
foreach (password_types() as $v)
printf('<option value="%s" %s>%s</option>',$v,($v == $default) ? 'selected' : '',$v);
foreach (password_types() as $v => $display)
printf('<option value="%s" %s>%s</option>',$v,($v == $default) ? 'selected' : '',$display);
echo '</select>';
}