mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 12:20:40 +00:00
Ensure even pickier password complexity rules are satsified by our random passwords
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11393 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -111,7 +111,7 @@ sub process_request {
|
||||
}
|
||||
$tmphash=($sitetable->getAttribs({key=>'genpasswords'},'value'))[0];
|
||||
if ($tmphash->{value} eq "1" or $tmphash->{value} =~ /y(es)?/i) {
|
||||
$password = genpassword(8)."1c";
|
||||
$password = genpassword(10)."1cA!";
|
||||
$gennedpassword=1;
|
||||
$tmphash=$ipmitable->getNodeAttribs($node,['bmc','username','bmcport']);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user