alter login flow to allow for email auth login

This commit is contained in:
chrisw
2017-11-07 16:11:31 +00:00
parent ef5f5ca43a
commit 1effec78e5
10 changed files with 334 additions and 34 deletions

View File

@@ -43,6 +43,7 @@ class Config(object):
}
EMAIL_EXPIRY_SECONDS = 3600 # 1 hour
INVITATION_EXPIRY_SECONDS = 3600 * 24 * 2 # 2 days - also set on api
EMAIL_2FA_EXPIRY_SECONDS = 1800 # 30 Minutes
HEADER_COLOUR = '#FFBF47' # $yellow
HTTP_PROTOCOL = 'http'
MAX_FAILED_LOGIN_COUNT = 10