Updated account
This commit is contained in:
parent
ce4a75c992
commit
112c201380
|
@ -19,6 +19,8 @@ runport = config.get("Account", "port")
|
||||||
print("HectaMail Account Service is starting up...")
|
print("HectaMail Account Service is starting up...")
|
||||||
print("Your database is located at:", database)
|
print("Your database is located at:", database)
|
||||||
|
|
||||||
|
allowed_pattern = r'^[a-zA-Z0-9.]+$'
|
||||||
|
|
||||||
def is_valid_input(input_string):
|
def is_valid_input(input_string):
|
||||||
return re.match(allowed_pattern, input_string) is not None
|
return re.match(allowed_pattern, input_string) is not None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue