Changeset 4612 for waeup/branches


Ignore:
Timestamp:
2 Jan 2010, 02:45:44 (15 years ago)
Author:
uli
Message:

Return also a user's title and description when authenticating.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/authentication.py

    r4606 r4612  
    133133            return None
    134134        return PrincipalInfo(id=account.name,
    135                              title=account.name,
    136                              description=account.name)
     135                             title=account.title,
     136                             description=account.description)
    137137
    138138    def principalInfo(self, id):
     
    141141            return None
    142142        return PrincipalInfo(id=account.name,
    143                              title=account.name,
    144                              description=account.name)
     143                             title=account.title,
     144                             description=account.description)
    145145
    146146    def getAccount(self, login):
Note: See TracChangeset for help on using the changeset viewer.