Changeset 3587

Show
Ignore:
Timestamp:
05/04/08 18:33:12 (7 months ago)
Author:
coderanger
Message:

Add better handling of /login. Thanks to to candrews for the idea.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • traccasplugin/0.10/traccas/traccas.py

    r1185 r3587  
    4747         
    4848 
     49    # Internal methods 
     50    def _do_login(self, req): 
     51        if not req.remote_user: 
     52            req.redirect(self.cas.login_url(req.abs_href.login())) 
     53        super(CasLoginModule, self)._do_login(req) 
     54 
    4955    def _do_logout(self, req): 
    5056        if req.authname: