r/pythonhelp • u/BellyDog9311 • Jul 09 '20
I NEED HELP!!
I have a reset password API that well reset's a users password, i need to add a validation that throws an error if the user has changed his password to a previously used password, as in he cant use 3 of his recently used password.
I also have a table in POSTGRES that will store the passwords and increment the passwordhistoryid as it comes in.
I dont have much experience in Python , so its abit difficult to understand to logic.
0
Upvotes