Changeset 5784 for WAeUP_SRP/trunk


Ignore:
Timestamp:
1 Mar 2011, 06:21:21 (14 years ago)
Author:
Henrik Bettermann
Message:

Catch traceback.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/cps_custom/logged_in.py

    r5656 r5784  
    3939member_id = str(member)
    4040
    41 cred = context.waeup_tool.getCredentialFromAuthHeader(request)
     41try:
     42    cred = context.waeup_tool.getCredentialFromAuthHeader(request)
     43except:
     44    cred = "no authentication header"
    4245
    4346if context.isStaff():
Note: See TracChangeset for help on using the changeset viewer.