summaryrefslogtreecommitdiff
path: root/indra/newview/lllogininstance.cpp
diff options
context:
space:
mode:
authorBrad Kittenbrink <brad@lindenlab.com>2022-02-04 14:03:05 -0800
committerBrad Kittenbrink <brad@lindenlab.com>2022-02-04 14:28:07 -0800
commit8422183958a54e49c230bf85743336e0dd4dff71 (patch)
tree2429ac7cb6af2e7bc270d7f6a367f503d0f1eec7 /indra/newview/lllogininstance.cpp
parent9ee43668bf02f2594ccf57fa342ce400c653343c (diff)
Related to fix for SL-16792, standardize on naming the filed simply mfa_hash end-to-end to avoid confusion
Diffstat (limited to 'indra/newview/lllogininstance.cpp')
-rw-r--r--indra/newview/lllogininstance.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/lllogininstance.cpp b/indra/newview/lllogininstance.cpp
index 2b1dbc869a..06dbf97e51 100644
--- a/indra/newview/lllogininstance.cpp
+++ b/indra/newview/lllogininstance.cpp
@@ -230,15 +230,15 @@ void LLLoginInstance::constructAuthParams(LLPointer<LLCredential> user_credentia
// log request_params _before_ adding the credentials or sensitive MFA hash data
LL_DEBUGS("LLLogin") << "Login parameters: " << LLSDOStreamer<LLSDNotationFormatter>(request_params) << LL_ENDL;
- std::string slmfa_hash = gSavedPerAccountSettings.getString("SLMFAHash"); //non-persistent to enable testing
- if(slmfa_hash.empty())
+ std::string mfa_hash = gSavedPerAccountSettings.getString("MFAHash"); //non-persistent to enable testing
+ if(mfa_hash.empty())
{
LLPointer<LLSecAPIHandler> basic_secure_store = getSecHandler(BASIC_SECHANDLER);
std::string grid(LLGridManager::getInstance()->getGridId());
- slmfa_hash = basic_secure_store->getProtectedData("slmfa_hash", grid).asString();
+ mfa_hash = basic_secure_store->getProtectedData("mfa_hash", grid).asString();
}
- request_params["slmfa_hash"] = slmfa_hash;
+ request_params["mfa_hash"] = mfa_hash;
// Copy the credentials into the request after logging the rest
LLSD credentials(user_credential->getLoginParams());