Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Skovhede <kenneth@hexad.dk>2018-03-22 10:32:48 +0300
committerKenneth Skovhede <kenneth@hexad.dk>2018-03-22 10:32:48 +0300
commit9e48de8e01f07273550ff9245d825d79cdb6d815 (patch)
tree0c8594884f6d54927c0243c00a27aeed04da12b0 /Duplicati/Server/WebServer/RESTMethods/Captcha.cs
parente9d477889f5d615b1ed7ccdd5f72f7daf991c8b8 (diff)
parente544b871dc04d5ecc3bcf41a4504cbb6f6768172 (diff)
Merge branch 'master' of github.com:duplicati/duplicati
Diffstat (limited to 'Duplicati/Server/WebServer/RESTMethods/Captcha.cs')
-rw-r--r--Duplicati/Server/WebServer/RESTMethods/Captcha.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Duplicati/Server/WebServer/RESTMethods/Captcha.cs b/Duplicati/Server/WebServer/RESTMethods/Captcha.cs
index ac4bec06a..bd7ad5d5d 100644
--- a/Duplicati/Server/WebServer/RESTMethods/Captcha.cs
+++ b/Duplicati/Server/WebServer/RESTMethods/Captcha.cs
@@ -38,7 +38,7 @@ namespace Duplicati.Server.WebServer.RESTMethods
}
}
- private static object m_lock = new object();
+ private static readonly object m_lock = new object();
private static Dictionary<string, CaptchaEntry> m_captchas = new Dictionary<string, CaptchaEntry>();
public static bool SolvedCaptcha(string token, string target, string answer)