summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindex.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/index.py b/index.py
index 42862ab..6b68057 100755
--- a/index.py
+++ b/index.py
@@ -127,9 +127,7 @@ class SubdapSite(object):
return render(errors = errors, username = username)
accountservice.name_create(username, password)
- if os.fork() == 0:
- accountservice.kprop()
- os._exit(0)
+ accountservice.kprop()
return s.login(username, password)
@expose('pwchange.html')
@@ -151,9 +149,7 @@ class SubdapSite(object):
except kerberos.PwdChangeError, e:
return render(errors = {'password2': unicode(e[0])}, username = username)
- if os.fork() == 0:
- accountservice.kprop()
- os._exit(0)
+ accountservice.kprop()
return s.selectpage(l, dn, {'pwchangeok': True})