summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/mfa.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-15 12:31:34 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-15 12:31:34 +0300
commitad952090c27086537f8c407a228e8d609a22b0fc (patch)
tree8947fe09598c0e66ae6d4a85383d88f30d082a64 /protocols/Discord/src/mfa.cpp
parent55e849420c53112df1d49d490557d6175532c260 (diff)
code cleaning
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();
}