added FAQ, Changelog, and Support static pages

This commit is contained in:
2020-05-10 22:55:16 -05:00
parent 5d37f26585
commit 7932db90d5
9 changed files with 265 additions and 24 deletions

View File

@ -37,7 +37,7 @@ def login():
if not email:
error = "email is required"
elif not re.match(r"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$)", email):
elif len(email.strip()) < 6 or email.count('@') != 1 or email.count('.') == 0:
error = "enter a valid email address"
if error is None: