Sfoglia il codice sorgente

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 anni fa
parent
commit
e787463c0c
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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