From a7668f5c1941ae676e1a70faef025e1febe2942c Mon Sep 17 00:00:00 2001 From: ro Date: Sat, 20 Jun 2020 02:51:53 +0100 Subject: [PATCH] Update template to inlclude variables used in the manager --- templates/dash/config.py.template | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/templates/dash/config.py.template b/templates/dash/config.py.template index 9fd3a9f..4897f6d 100644 --- a/templates/dash/config.py.template +++ b/templates/dash/config.py.template @@ -144,6 +144,18 @@ PASSWORD_REDIRECT : str AUTH_TTL = 3600 PASSWORD_REDIRECT = '' +""" +Manager +----------------- +LOGIN_FAILURE_TIMER : int + Time in seconds till the temporary login ban expires. +LOGIN_FAILURE_LIMIT : int + Amount of times a player can attempt to login + before being locked out. +""" +LOGIN_FAILURE_TIMER = 3600 +LOGIN_FAILURE_LIMIT = 5 + # For more configuration settings see # https://sanic.readthedocs.io/en/latest/sanic/config.html#builtin-configuration-values