fix problem with #1879

This commit is contained in:
Unknwon committed 2015-11-02 14:01:19 -05:00
1 parent 92535c9df0
commit 75aab86a8d
5 files changed
+223 -222

No files matched your search

+219 -219
View File
File diff suppressed because it is too large. Load diff
+1
View File
@@ -453,6 +453,7 @@ func newService() {
Service.EnableCaptcha = sec.Key("ENABLE_CAPTCHA").MustBool()
minimumKeySizes := Cfg.Section("service.minimum_key_sizes").Keys()
Service.MinimumKeySizes = make(map[string]int)
for _, key := range minimumKeySizes {
Service.MinimumKeySizes[key.Name()] = key.MustInt()
}