req.py
changeset 5556 9ab2b4c74baf
parent 5527 01a7228ab5a0
child 5736 375819ec7d43
equal deleted inserted replaced
5555:a64f48dd5fe4 5556:9ab2b4c74baf
   277             userinfo['email'] = ""
   277             userinfo['email'] = ""
   278             return userinfo
   278             return userinfo
   279         user = self.user
   279         user = self.user
   280         userinfo['login'] = user.login
   280         userinfo['login'] = user.login
   281         userinfo['name'] = user.name()
   281         userinfo['name'] = user.name()
   282         userinfo['email'] = user.get_email()
   282         userinfo['email'] = user.cw_adapt_to('IEmailable').get_email()
   283         return userinfo
   283         return userinfo
   284 
   284 
   285     def is_internal_session(self):
   285     def is_internal_session(self):
   286         """overrided on the server-side"""
   286         """overrided on the server-side"""
   287         return False
   287         return False