summaryrefslogtreecommitdiff
path: root/index.py
diff options
context:
space:
mode:
Diffstat (limited to 'index.py')
-rwxr-xr-xindex.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/index.py b/index.py
index f7fb396..6de80c5 100755
--- a/index.py
+++ b/index.py
@@ -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):