diff options
-rwxr-xr-x | index.py | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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}) |