Changed: Append cp=2 parameter to query when requesting salt to know that we support SHA512 crypt
This commit is contained in:
parent
5ca6d94556
commit
a7ffef3f33
1 changed files with 1 additions and 1 deletions
|
@ -2722,7 +2722,7 @@ string checkLogin(const string &login, const string &password, const string &cli
|
|||
std::string url = ClientCfg.ConfigFile.getVar("StartupHost").asString() + ClientCfg.ConfigFile.getVar("StartupPage").asString();
|
||||
|
||||
// ask server for salt
|
||||
if(!HttpClient.sendGet(url + "?cmd=ask&login=" + login + "&lg=" + ClientCfg.LanguageCode, "", pPM->isVerboseLog()))
|
||||
if(!HttpClient.sendGet(url + "?cmd=ask&cp=2&login=" + login + "&lg=" + ClientCfg.LanguageCode, "", pPM->isVerboseLog()))
|
||||
return "Can't send (error code 60)";
|
||||
|
||||
if(pPM->isVerboseLog()) nlinfo("Sent request for password salt");
|
||||
|
|
Loading…
Reference in a new issue