1

as a bulk error, I will tell you that the following statement is incorrect if you want to compare two strings if (crypted == password) with this you are really comparing two pointers(memory addresses), if you want to really compare two strings you should use some function like strcmp ().


1

As long as password2 is "password" (literally), this will work. Are you sure you want to compare request.form.get("password2") to the string literal "password"


Only top voted, non community-wiki answers of a minimum length are eligible