In TG1, you can change the registered user by doing something like:
identity.set_current_identity(identity)
Is it possible to do something like this in TG2? It seems repoze.who should provide something like this, but I cannot find the magic words.
Alternatively, is there any documentation on how to use repoze.who in any way other than the usual approach, asking for a username and password, and then sending this data to / login _handler. Where is the code handling login_handler?
Thank!
source
share