def reset_password(self, userid, password):
        user = self.get_user_by_id(userid)
        user.password = generate_password_hash(password)
        self.update_user(user)
A method which returns `self` or None based on the truthness
dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/security/manager.py/BaseSecurityManager.reset_password--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/widgets/constraints_widget.py/ConstraintsWidget.when