New answers tagged

2

Few optimization tips verify_password function avoid bare except: clause - at least use except Exception: (though it's also broad, check which exception class is most appropriate in that context) a set of statements: try: if check_password_hash(user["password"], password): return True except: return False return False is an overloaded and ...


Top 50 recent answers are included