mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-23 18:29:26 -05:00
Log the args that we have on UI auth completion
This will be super helpful for debugging if we have more registration woes.
This commit is contained in:
parent
11254bdf6d
commit
f681aab895
@ -162,7 +162,13 @@ class AuthHandler(BaseHandler):
|
|||||||
|
|
||||||
for f in flows:
|
for f in flows:
|
||||||
if len(set(f) - set(creds.keys())) == 0:
|
if len(set(f) - set(creds.keys())) == 0:
|
||||||
logger.info("Auth completed with creds: %r", creds)
|
# it's very useful to know what args are stored, but this can
|
||||||
|
# include the password in the case of registering, so only log
|
||||||
|
# the keys.
|
||||||
|
logger.info(
|
||||||
|
"Auth completed with creds: %r. Client dict has keys: %r",
|
||||||
|
creds, clientdict.keys()
|
||||||
|
)
|
||||||
defer.returnValue((True, creds, clientdict, session['id']))
|
defer.returnValue((True, creds, clientdict, session['id']))
|
||||||
|
|
||||||
ret = self._auth_dict_for_flows(flows, session)
|
ret = self._auth_dict_for_flows(flows, session)
|
||||||
|
Loading…
Reference in New Issue
Block a user