Commit 14c1a186 by Calen Pennington Committed by Kyle Fiedler

Re-raise an integrity error during user creation if it's not caused by something…

Re-raise an integrity error during user creation if it's not caused by something we know to check for
parent e02081b0
......@@ -181,8 +181,7 @@ def create_account(request, post_override=None):
js['value']="An account with this e-mail already exists."
return HttpResponse(json.dumps(js))
js['value'] = "Unable to create your account"
return HttpResponse(json.dumps(js))
raise
r.register(u)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment