mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-10-24 07:55:27 +00:00
Revert "Restore support for pre-configured passwords"
This reverts commit fcafd91d4b.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user