diff OrthancServer/main.cpp @ 604:489f6a375277

parameter for better security
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 18 Oct 2013 10:32:55 +0200
parents c9a5d72f8481
children b1a0990ad40c
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Tue Oct 15 16:23:42 2013 +0200
+++ b/OrthancServer/main.cpp	Fri Oct 18 10:32:55 2013 +0200
@@ -387,7 +387,7 @@
       httpServer.SetRemoteAccessAllowed(GetGlobalBoolParameter("RemoteAccessAllowed", false));
       httpServer.SetIncomingHttpRequestFilter(httpFilter);
 
-      httpServer.SetAuthenticationEnabled(GetGlobalBoolParameter("AuthenticationEnabled", false));
+      httpServer.SetAuthenticationEnabled(GetGlobalBoolParameter("AuthenticationEnabled", true));
       SetupRegisteredUsers(httpServer);
 
       if (GetGlobalBoolParameter("SslEnabled", false))