mirror of
https://git.wownero.com/wownero/YellWOWPages.git
synced 2024-08-15 01:03:25 +00:00
Address format check
This commit is contained in:
parent
1765bcdd12
commit
5b719029ee
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ async def dashboard_address_post():
|
|||
address = form.get('address')
|
||||
if len(address) != 97:
|
||||
raise Exception("Please submit a WOW address")
|
||||
elif not address.isalnum():
|
||||
raise Exception("Please submit a WOW address")
|
||||
|
||||
# update user
|
||||
from yellow.models import User
|
||||
|
|
Loading…
Reference in a new issue