135
134
if request.cfg.require_email_verification:
136
135
if request.cfg.external_creation_check:
137
136
p = subprocess.Popen([request.cfg.external_creation_check,
140
theuser.account_creation_host], shell=False, stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
139
theuser.account_creation_host.encode('utf-8')], shell=False, stdin=None, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
141
140
(create_error, ignored) = p.communicate(None)
143
142
return _("Account creation failed: %s." % create_error)