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()

Views All Time
Views All Time
547
Views Today
Views Today
2

Leave a Reply

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