Ignore:
Timestamp:
02/02/09 15:56:50 (11 years ago)
Author:
pjkersha
Message:

Fixes to BADC SSO service templates:

  • re-instated error.kid for use by logout controller
  • added login/logout link switch to header
  • fixed header and footer alignments for IE correct display
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/sso/sso/controllers/logout.py

    r4893 r4898  
    3939            # There's no handle to a security session 
    4040            log.error("logout called but no 'ndgSec' key in session object") 
     41            c.loggedIn = False 
    4142            return self._redirect() 
    4243         
     
    6162            # redirect ... 
    6263 
     64        c.loggedIn = False 
    6365        return self._cleanupAndRedirect() 
    6466 
     
    9193                log.error("logout - decoding return URL: %s" % e)  
    9294                c.xml = "Error carrying out browser redirect following logout" 
     95                response.status_code = 400 
    9396                return render('ndg.security.kid', 'ndg.security.error') 
    9497             
     
    116119        else: 
    117120            log.debug("LogoutController._redirect: no redirect URL set.") 
     121            response.status_code = 400 
    118122            return render('ndg.security.kid', 'ndg.security.error') 
Note: See TracChangeset for help on using the changeset viewer.