﻿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
28259	Make bool(AnonymousUser) evaluate to false	Linus Lewandowski	nobody	"I suggest adding !__bool!__() method returning False to the AnonymousUser.

This way it'll be possible to check if the user is authenticated by simply writing

{{{
if request.user:
}}}

It's a frequent source of bugs (at least for me, but probably I'm not alone) that right now this code returns True for anonymous users."	New feature	closed	contrib.auth	dev	Normal	wontfix			Unreviewed	0	0	0	0	0	0
