trying to fix WPD's issue
parent
67dff25a5a
commit
05b70969e5
|
@ -326,6 +326,8 @@ def sign_up_post(v):
|
|||
|
||||
g.db.add(new_user)
|
||||
|
||||
g.db.commit()
|
||||
|
||||
if ref_id:
|
||||
ref_user = get_account(ref_id)
|
||||
|
||||
|
@ -342,8 +344,6 @@ def sign_up_post(v):
|
|||
except Exception as e: print(e)
|
||||
|
||||
|
||||
g.db.commit()
|
||||
|
||||
check_for_alts(new_user.id)
|
||||
|
||||
send_notification(new_user.id, WELCOME_MSG)
|
||||
|
|
Loading…
Reference in New Issue