Changeset 1947

Show
Ignore:
Timestamp:
02/09/07 15:44:40 (2 years ago)
Author:
BladeHawke
Message:

AuthRequiredPlugin:

Allow registration (Fixes #1195)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • authrequiredplugin/0.10/tracauthrequired/authrequired.py

    r1565 r1947  
    4848    def get_navigation_items(self, req): 
    4949        if ((req.authname and req.authname != 'anonymous') or \ 
    50             req.path_info.startswith('/login')): 
     50            req.path_info.startswith('/login') or \ 
     51            req.path_info.startswith('/register')): 
    5152            return [] 
    5253        self.log.debug('Redirecting anonymous request to /login')