id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 19780 Discrepancy in modwsgi auth handler Aymeric Augustin nobody "`check_password` does: {{{ if not user.is_active: return None }}} while `groups_for_user` does: {{{ try: if not user.is_active: return [] except AttributeError as e: # a custom user may not support is_active return [] }}} Shouldn't these be rewritten to: {{{ if not getattr(user, 'is_active', True): return None / return [] }}}" Bug closed contrib.auth dev Normal fixed Unreviewed 0 0 0 0 0 0