mirror of
https://git.wownero.com/wownero/YellWOWPages.git
synced 2024-08-15 01:03:25 +00:00
Merge pull request 'Fix address submission' (#11) from fix-addr-submission into master
Reviewed-on: https://git.wownero.com/wownero/YellWOWPages/pulls/11
This commit is contained in:
commit
c9b0b4287a
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