diff --git a/Duplicati/Server/WebServer/SynologyAuthenticationHandler.cs b/Duplicati/Server/WebServer/SynologyAuthenticationHandler.cs index f8c7d960d..f213f05b4 100644 --- a/Duplicati/Server/WebServer/SynologyAuthenticationHandler.cs +++ b/Duplicati/Server/WebServer/SynologyAuthenticationHandler.cs @@ -15,6 +15,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA using System; +using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.IO; @@ -60,7 +61,7 @@ namespace Duplicati.Server.WebServer /// /// A cache of previously authenticated logins /// - private readonly Dictionary m_logincache = new Dictionary(); + private readonly ConcurrentDictionary m_logincache = new ConcurrentDictionary(); /// /// The loca guarding the login cache