Commits

Adrian Dries  committed 38d2196

put token on crowd user for logging

  • Participants
  • Parent commits cb9ed16

Comments (0)

Files changed (1)

File fenton/ext/crowd.py

         ua = request.user_agent
         ra = request.remote_addr
         token = cc.createPrincipalToken(self.username, ua, ra)
+        self.crowd_token = token
         response = getattr(request, 'response', None)
         if response:
             response.set_cookie(cc.cookie_name, token,