After leaving my project on backburner for about a year, I implemented
what you said and tg.identity does not get set when I am not logged
in.
INI
[authenticators]
plugins =
sqlauth
guestauth
[plugin:guestauth]
# An SQLAlchemy authorization plugin
use = hypernucleusserver.lib.auth:guestaut
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tres Seaver wrote:
> Richie Ward wrote:
>> Normally by default, when you are not logged in with repoze.who/what,
>> you are logged in as nothing. I propose a modiforcation that will give
>> the option to set a default user (A user in database called gu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Richie Ward wrote:
> Normally by default, when you are not logged in with repoze.who/what,
> you are logged in as nothing. I propose a modiforcation that will give
> the option to set a default user (A user in database called guest with
> restricted pe