Flask - Security Best Practices
Identify the error in this Flask password check code:
from werkzeug.security import generate_password_hash, check_password_hash
hashed = generate_password_hash('mypassword')
if check_password_hash('mypassword', hashed):
print('Access granted')