dsffsd
This commit is contained in:
parent
b1c7bd1151
commit
e03cf50765
2 changed files with 14 additions and 0 deletions
|
@ -271,6 +271,13 @@ def sign_up_post(v):
|
|||
|
||||
email = request.values.get("email")
|
||||
email = email.strip()
|
||||
|
||||
if email.endswith("@gmail.com"):
|
||||
email=email.split('@')[0]
|
||||
email=email.split('+')[0]
|
||||
email=email.replace('.','')
|
||||
email=f"{email}@gmail.com"
|
||||
|
||||
if not email: email = None
|
||||
|
||||
existing_account = get_user(username, graceful=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue