1
0
mirror of https://bitbucket.org/seefoe/src.git synced 2026-01-16 23:04:30 -05:00

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

View File

@@ -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);