Ignore:
Timestamp:
03/09/07 14:32:24 (12 years ago)
Author:
lawrence
Message:

Some slight improvements to error trapping in login.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/login.py

    r2872 r2873  
    7979        Session Manager following user login""" 
    8080         
    81         self.__setup() 
    82          
    83         try: 
     81        try: 
     82            self.__setup() 
    8483            self.__securitySetup() 
    8584     
     
    141140            return Response(render('login'),code=400) 
    142141 
     142        log.debug('Completing login') 
    143143        # Make session 
    144144        # 
     
    151151        session.save() 
    152152 
    153         self.__doRedirect() 
     153        return self.__doRedirect() 
    154154             
    155155             
     
    196196        # this is not necessary. 
    197197        # and now go back to whence we had come 
     198        log.debug('Login redirect to [%s]'%c.returnTo) 
    198199        if c.returnTo!='': 
    199200            # is there a keyword on redirect_to that can make this https? See: 
Note: See TracChangeset for help on using the changeset viewer.