Changeset 5815


Ignore:
Timestamp:
05/10/09 15:02:32 (10 years ago)
Author:
domlowe
Message:

closing security login window automatically

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cowsclient/trunk/cowsclient/controllers/securityredirect.py

    r5659 r5815  
    88    def index(self): 
    99        if 'ndg.security.auth' in request.cookies.keys(): 
    10             return 'cookie found!' 
     10            return '<html><head></head><body onload="window.close()"></body></html>' 
    1111        else: 
    1212            return abort(401) 
Note: See TracChangeset for help on using the changeset viewer.