diff OrthancServer/main.cpp @ 3494:e0e9df6e5c92

AuthenticationEnabled
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Aug 2019 10:59:10 +0200
parents 6add197274b1
children cc3e408165eb
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Mon Aug 19 10:18:04 2019 +0200
+++ b/OrthancServer/main.cpp	Mon Aug 19 10:59:10 2019 +0200
@@ -821,7 +821,7 @@
       httpServer.SetRemoteAccessAllowed(lock.GetConfiguration().GetBooleanParameter("RemoteAccessAllowed", false));
       httpServer.SetKeepAliveEnabled(lock.GetConfiguration().GetBooleanParameter("KeepAlive", defaultKeepAlive));
       httpServer.SetHttpCompressionEnabled(lock.GetConfiguration().GetBooleanParameter("HttpCompressionEnabled", true));
-      httpServer.SetAuthenticationEnabled(lock.GetConfiguration().GetBooleanParameter("AuthenticationEnabled", false));
+      httpServer.SetAuthenticationEnabled(lock.GetConfiguration().GetBooleanParameter("AuthenticationEnabled", true));
       httpServer.SetTcpNoDelay(lock.GetConfiguration().GetBooleanParameter("TcpNoDelay", true));
 
       lock.GetConfiguration().SetupRegisteredUsers(httpServer);