[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:
Vitalii Koshura 2020-07-23 18:50:31 +02:00
parent 043029db76
commit 7dfeef1d7f
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}