2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-10-23 23:45:33 +00:00

Revert "Restore support for pre-configured passwords"

This reverts commit fcafd91d4b.
This commit is contained in:
Jarrod Johnson
2017-03-16 16:38:11 -04:00
parent fcafd91d4b
commit 9bdef30723

View File

@@ -149,11 +149,6 @@ sub crypt_system_password {
"ERROR: Unable to get password from database table $table, key=$key");
return undef;
}
if (($password =~ /^\$1\$/) || ($password =~ /^\$5\$/) || ($password =~ /^\$6\$/)) {
# pre-crypted for our convenience
return $password;
}
$cryptmethod = $data->{'cryptmethod'};
if (!$cryptmethod) {
# Use sha256 crypt method by default