summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/mfa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Discord/src/mfa.cpp')
-rw-r--r--protocols/Discord/src/mfa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/mfa.cpp b/protocols/Discord/src/mfa.cpp
index 9de79283fa..292826d3e1 100644
--- a/protocols/Discord/src/mfa.cpp
+++ b/protocols/Discord/src/mfa.cpp
@@ -107,6 +107,6 @@ void CDiscordProto::OnSendTotp(MHttpResponse *pReply, struct AsyncHttpRequest *p
auto &data = root.data();
CMStringA szToken = data["token"].as_mstring();
m_szAccessToken = szToken.Detach();
- setString("AccessToken", m_szAccessToken);
+ setString(DB_KEY_TOKEN, m_szAccessToken);
RetrieveMyInfo();
}