added FAQ, Changelog, and Support static pages
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user