fdsfsd
This commit is contained in:
parent
a4d6e6c1cd
commit
fc6509470e
3 changed files with 6 additions and 8 deletions
|
@ -284,10 +284,7 @@ def sign_up_post(v):
|
|||
if existing_account and existing_account.reserved:
|
||||
return redirect(existing_account.url)
|
||||
|
||||
if existing_account or (email and g.db.query(
|
||||
User).filter(User.email.ilike(email)).first()):
|
||||
return new_signup(
|
||||
"An account with that username or email already exists.")
|
||||
if existing_account: return new_signup("An account with that username already exists.")
|
||||
|
||||
if app.config.get("HCAPTCHA_SITEKEY"):
|
||||
token = request.values.get("h-captcha-response")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue