diff --git a/src/auth/Auth.cpp b/src/auth/Auth.cpp index 6337f5e..e7f075d 100644 --- a/src/auth/Auth.cpp +++ b/src/auth/Auth.cpp @@ -100,7 +100,7 @@ static void displayFailTimeoutCallback(std::shared_ptr self, void* data) } void CAuth::enqueueFail(const std::string& failText, eAuthImplementations implType) { - const auto FAILTIMEOUT = g_pConfigManager->getValue("general:fail_timeout"); + static const auto FAILTIMEOUT = g_pConfigManager->getValue("general:fail_timeout"); m_sCurrentFail.failText = failText; m_sCurrentFail.failSource = implType;