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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user