Search code examples
pythonemailflaskjinja2confirm

Flask Email Conformation For Password Reset


I have a username and password I built from scratch, this works fine until I thought, people forgetting their password.

I would like to find a way to check when a url has been visited to then change the password for urls like "example.com/fp?id=" that has been sent by email.

I cannot use the flask-security module at this point due to the way I have created the databases and how its integrated into my website.

Yes I have looked, and it seems most ways require using flask-login and flask-security, thanks for any answers in advance :)


Solution

  • Fixed! I just sent an email using smptlib and determining the id using that