瀏覽代碼

Added good_users field to defaults

  good_users is the whitelist of IP addresses, simply add your ip so you
don't get blocked on accidental wrong passwords. (Unless you like
waiting the sum odd hours till your IP get's unblocked)
david 3 年之前
父節點
當前提交
e787463c0c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      config.py

+ 1 - 0
config.py

@@ -53,6 +53,7 @@ def load_config():
                 "nginx",
                 "admin"
             ],
+            "good_users": []
         }
         save_config(defaults)
         return defaults