Fixed an issue where login always used auth even when it shouldn't

This commit is contained in:
seefo
2019-03-12 22:07:48 -04:00
parent 54fd2207ea
commit f72566649b
@@ -175,7 +175,7 @@ void ClientConnection::validateClient(const std::string & id, const std::string
std::string authURL(ConfigLoginServer::getExternalAuthUrl());
if (!authURL.empty())
if (ConfigLoginServer::getUseExternalAuth() && !authURL.empty())
{
StellaBellum::webAPI api(authURL);