Hello Team,
What I’m trying to do:
I have created a custom sign in /Register form in anvil and Iam sending mails using python SMTP library with the link generated using anvil.server.get_app_origin()
I validate and perform certain updates on my MySQL DB once the user clicks the below link in his mail box
I grab the parameters in the above URL using anvil.get_url_hash() and perform validation in the form_show event of my HomePage.
But this validation keeps firing every time I return to home page even after I move to other pages after login and the url does not change.
and still shows the link which I clicked from my mail
Note: I have not hosted this URL in public domain yet and still under development and this is the URL in my dev environment
How to change the URL once I log in or how to stop this validation from firing again every time go to my home page…thanks in advance
Code Sample:
# code snippet
Clone link:
share a copy of your app