flask_login异常:AttributeError: 'User' object has no attribute 'is_active' User类没有继承 UserMixin class User(UserMixin... 继承即可