mirror of
https://github.com/wownero/YellWOWPages.git
synced 2026-10-17 07:21:37 +02:00
Fix address submission
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user