mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-23 18:56:10 +00:00
Log the value which is observed in the first place.
The name 'result' is of bool type and has no len property, resulting in a TypeError. Futhermore in the flow control conn.response is observed and hence should be reported. Signed-off-by: Daniel Ehlers <sargon@toppoint.de>
This commit is contained in:
parent
e380538b59
commit
dfaf0fee31
@ -660,7 +660,7 @@ class AuthHandler(BaseHandler):
|
|||||||
else:
|
else:
|
||||||
logger.warn(
|
logger.warn(
|
||||||
"ldap registration failed: unexpected (%d!=1) amount of results",
|
"ldap registration failed: unexpected (%d!=1) amount of results",
|
||||||
len(result)
|
len(conn.response)
|
||||||
)
|
)
|
||||||
defer.returnValue(False)
|
defer.returnValue(False)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user