mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-09 03:22:57 +01:00
Oops, left debugging in.
This commit is contained in:
parent
ea1776f556
commit
4cd5fb13a3
1 changed files with 0 additions and 6 deletions
|
@ -48,8 +48,6 @@ class RegistrationHandler(BaseHandler):
|
||||||
def check_username(self, localpart):
|
def check_username(self, localpart):
|
||||||
yield run_on_reactor()
|
yield run_on_reactor()
|
||||||
|
|
||||||
print "checking username %s" % (localpart)
|
|
||||||
|
|
||||||
if urllib.quote(localpart) != localpart:
|
if urllib.quote(localpart) != localpart:
|
||||||
raise SynapseError(
|
raise SynapseError(
|
||||||
400,
|
400,
|
||||||
|
@ -62,11 +60,7 @@ class RegistrationHandler(BaseHandler):
|
||||||
|
|
||||||
yield self.check_user_id_is_valid(user_id)
|
yield self.check_user_id_is_valid(user_id)
|
||||||
|
|
||||||
print "is valid"
|
|
||||||
|
|
||||||
u = yield self.store.get_user_by_id(user_id)
|
u = yield self.store.get_user_by_id(user_id)
|
||||||
print "user is: "
|
|
||||||
print u
|
|
||||||
if u:
|
if u:
|
||||||
raise SynapseError(
|
raise SynapseError(
|
||||||
400,
|
400,
|
||||||
|
|
Loading…
Reference in a new issue