mirror of
https://git.wownero.com/wownero/YellWOWPages.git
synced 2024-08-15 01:03:25 +00:00
Fix address submission
This commit is contained in:
parent
dc2e24c1e8
commit
17ac484eae
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ async def dashboard():
|
|||
async def dashboard_address_post():
|
||||
form = await request.form
|
||||
address = form.get('address')
|
||||
if not bool(re.match(r'^(WW)\\d[0-9A-Za-z]{94}$', address)):
|
||||
if len(address) != 97:
|
||||
raise Exception("Please submit a WOW address")
|
||||
|
||||
# update user
|
||||
|
|
Loading…
Reference in a new issue