mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Oops, left debugging in.
This commit is contained in:
parent
ea1776f556
commit
4cd5fb13a3
@ -48,8 +48,6 @@ class RegistrationHandler(BaseHandler):
|
||||
def check_username(self, localpart):
|
||||
yield run_on_reactor()
|
||||
|
||||
print "checking username %s" % (localpart)
|
||||
|
||||
if urllib.quote(localpart) != localpart:
|
||||
raise SynapseError(
|
||||
400,
|
||||
@ -62,11 +60,7 @@ class RegistrationHandler(BaseHandler):
|
||||
|
||||
yield self.check_user_id_is_valid(user_id)
|
||||
|
||||
print "is valid"
|
||||
|
||||
u = yield self.store.get_user_by_id(user_id)
|
||||
print "user is: "
|
||||
print u
|
||||
if u:
|
||||
raise SynapseError(
|
||||
400,
|
||||
|
Loading…
Reference in New Issue
Block a user