fds
This commit is contained in:
parent
d1901de786
commit
a99736b6f0
1 changed files with 1 additions and 2 deletions
|
@ -187,9 +187,8 @@ def sign_up_get(v):
|
|||
|
||||
ref = request.values.get("ref", None)
|
||||
|
||||
ref = ref.replace('\\', '').replace('_', '\_').replace('%', '').strip()
|
||||
|
||||
if ref:
|
||||
ref = ref.replace('\\', '').replace('_', '\_').replace('%', '').strip()
|
||||
ref_user = g.db.query(User).filter(User.username.ilike(ref)).one_or_none()
|
||||
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue