This options resolve the error: *auth.settings.create_user_groups = False*
On Wed, Feb 8, 2012 at 1:22 PM, Massimiliano <[email protected]> wrote: > Hi, > > I'm trying to login to our openldap server. > > When a user login for the first time I got this error: > * > * > *AttributeError: 'NoneType' object has no attribute 'user_groups'* > > in > * > * > *tools.py / update_groups* > *user_groups = self.user_groups = current.session.auth.user_groups = {}* > > Happen that *current.session.auth* is *None* > > If I comment current.session: > user_groups = self.user_groups = {} # = > current.session.auth.user_groups = {} > > login is working and user groups are created. > > I'm missing something? > > Thank you > -- > Massimiliano > -- Massimiliano

