diff options
author | equinox <equinox@diac24.net> | 2011-09-27 06:09:30 +0200 |
---|---|---|
committer | equinox <equinox@diac24.net> | 2011-09-27 06:09:30 +0200 |
commit | eb5d8a3c4b403978a5827e972d4c5391f0a5ed62 (patch) | |
tree | 693307607882afc593b6978e9e1ae1e3e6931b80 /index.py | |
parent | 230438d7c287a370422ca42b7bd6ef977475ef70 (diff) |
templates: some brushing up
Diffstat (limited to 'index.py')
-rwxr-xr-x | index.py | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -76,7 +76,7 @@ class SubdapSite(object): return s.selectpage(l, dn) - def selectpage(s, l, dn, message = None): + def selectpage(s, l, dn, message = {}): user = ldapobj(l.search_s(dn, ldap.SCOPE_BASE, '(objectclass=*)', [])) tgts = {} @@ -147,11 +147,7 @@ class SubdapSite(object): accountservice.kprop() os._exit(0) - return s.selectpage(l, dn, - '''Your password has been changed -- - please note that it may take a few minutes for Kerberos to update - its three heads. At any moment, either your old password or your new - password will work.''') + return s.selectpage(l, dn, {'pwchangeok': True}) @cherrypy.expose def kill(s): |