AttributeError AttributeError: ‘bool’ object has no attribute ‘__call__’

Flask-Login has set is_active is_authenticated is_anonymous to property in UserMixin, so we should use current_user.is_authenticated instead of current_user.is_authenticated()

Leave a Reply

Your email address will not be published. Required fields are marked *