Changeset 1082 for WAeUP_SRP/trunk/skins/waeup_custom
- Timestamp:
- 18 Dec 2006, 21:25:01 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_custom
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r1021 r1082 16 16 current = DateTime.DateTime() 17 17 import logging 18 logger = logging.getLogger(' Student.Login')18 logger = logging.getLogger('Member.Login') 19 19 20 20 … … 106 106 else: 107 107 to_member_home, to_workspaces = checkRedirect(portal, mtool) 108 108 109 if (not to_member_home) and (not to_workspaces): 109 110 redirect_to_portal = True … … 124 125 elif to_member_home: 125 126 redirect_url = mtool.getHomeFolder().absolute_url() 127 logger.info('"%s", "logged in"' % (member)) 126 128 elif to_workspaces: 127 129 redirect_url = portal.workspaces.absolute_url() 130 logger.info('"%s", "logged in"' % (member)) 128 131 elif redirect_to_portal: 129 132 redirect_url = portal_absolute_url 133 logger.info('"%s", "logged in"' % (member)) 130 134 131 135 REQUEST = context.REQUEST -
WAeUP_SRP/trunk/skins/waeup_custom/logout.py
r1067 r1082 10 10 # notify the event service that the user has logged out 11 11 import logging 12 logger = logging.getLogger(' Logout')12 logger = logging.getLogger('Member.Logout') 13 13 user = context.portal_membership.getAuthenticatedMember() 14 14 if user:
Note: See TracChangeset for help on using the changeset viewer.