mirror of https://github.com/BOINC/boinc.git
[Windows] Enlarge default generated password to be 32 symbols long
This fixes #3944 Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
parent
043029db76
commit
7dfeef1d7f
|
@ -152,7 +152,7 @@ UINT CACreateBOINCAccounts::OnExecution()
|
|||
NULL,
|
||||
_T("Generating 'boinc_master' password")
|
||||
);
|
||||
GenerateRandomPassword(strBOINCMasterAccountPassword, 12);
|
||||
GenerateRandomPassword(strBOINCMasterAccountPassword, 32);
|
||||
strBOINCMasterAccountPassword = _T("!") + strBOINCMasterAccountPassword;
|
||||
}
|
||||
|
||||
|
@ -314,7 +314,7 @@ UINT CACreateBOINCAccounts::OnExecution()
|
|||
NULL,
|
||||
_T("Generating 'boinc_project' password")
|
||||
);
|
||||
GenerateRandomPassword(strBOINCProjectAccountPassword, 12);
|
||||
GenerateRandomPassword(strBOINCProjectAccountPassword, 32);
|
||||
strBOINCProjectAccountPassword = _T("!") + strBOINCProjectAccountPassword;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue