source: TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/pylonsapp/pylonsapp/templates/secured.mako @ 7077

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDGSecurity/python/ndg_security_test/ndg/security/test/integration/pylonsapp/pylonsapp/templates/secured.mako@7077
Revision 7077, 220 bytes checked in by pjkersha, 9 years ago (diff)
  • Property svn:keywords set to Id
Line 
1Test NDG Security Login and logout decorators for a Pylons application<br />
2<br />
3% if 'REMOTE_USER' in request.environ:
4    <a href="/secured/logout">Logout</a>
5% else:
6    <a href="/secured/login">Login</a>
7% endif
8
Note: See TracBrowser for help on using the repository browser.