Changeset 2855 for authopenidplugin

Show
Ignore:
Timestamp:
12/07/07 00:18:58 (9 months ago)
Author:
dalius
Message:

Ticket #2276 fixed.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • authopenidplugin/0.11/authopenid/authopenid.py

    r2847 r2855  
    123123    def get_navigation_items(self, req): 
    124124        if req.authname and req.authname != 'anonymous': 
    125             yield ('metanav', 'openidlogin', 'logged in as %s' % req.authname
     125            yield ('metanav', 'openidlogin', 'logged in as %s' % (req.session.get('name') or req.authname)
    126126            yield ('metanav', 'openidlogout', 
    127127                   tag.a('Logout', href=req.href.openidlogout()))