Allow address length 97 and 108

This commit is contained in:
dsc 2024-06-13 03:06:03 +03:00
parent b870c61084
commit 8da5161c97

View file

@ -36,7 +36,7 @@ async def dashboard():
async def dashboard_address_post(): async def dashboard_address_post():
form = await request.form form = await request.form
address = form.get('address') address = form.get('address')
if len(address) != 97: if len(address) not in [97, 108]:
raise Exception("Please submit a WOW address") raise Exception("Please submit a WOW address")
# update user # update user