From 2523706447ad5ee56eb6c946a0cd7b8c1ec4da5e Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 12 May 2016 19:53:16 +0200 Subject: [PATCH] Changed: Append cp=2 parameter to query when requesting salt to know that we support SHA512 crypt --- code/ryzom/client/src/login.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/login.cpp b/code/ryzom/client/src/login.cpp index b8ac576d0..f11f7c363 100644 --- a/code/ryzom/client/src/login.cpp +++ b/code/ryzom/client/src/login.cpp @@ -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");