I try context.acl_users.authenticate(user, pass, request) but this doesn't change the session user, isn't it?
Can I change the logged user in the session in any way? Thanks! 2007/7/7, Garito <[EMAIL PROTECTED]>:
Sure? I'll try then Thank you so much!!! 2007/7/7, Andrew Milton <[EMAIL PROTECTED]>: > > +-------[ Garito ]---------------------- > | How can I change the user programatically? > | Can I? > | > | The process will be the same in acl_users, cookieCrumbler, > ExUserFolder, isn't > | it? > | > | for example: acl_users.authenticate(user_name, password) > | > | Is this possible? > | > | That's my original need, but I'm not so sure if I ask properly, sorry > > That is exactly how to do it with exUserFolder. > It will return a new user object, or None if the authentication failed. > > -- > Andrew Milton > [EMAIL PROTECTED] > -- Mis Cosas http://blogs.sistes.net/Garito
-- Mis Cosas http://blogs.sistes.net/Garito
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )