mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Logging the config in the error to debug CI
Signed-off-by: Brian Meek <brian@hntlabs.com>
This commit is contained in:
parent
9d8dfcabcf
commit
39377bd048
|
|
@ -119,7 +119,7 @@ func (pk LoginPublicKeyEthereum) ValidateLoginResponse() (bool, *jsonerror.Matri
|
|||
// Check signature to verify message was not tempered
|
||||
_, err = message.Verify(pk.Signature, (*string)(&pk.config.Matrix.ServerName), nil, nil)
|
||||
if err != nil {
|
||||
return false, jsonerror.InvalidSignature(err.Error() + " " + pk.Signature + " " + string(pk.config.Matrix.ServerName))
|
||||
return false, jsonerror.InvalidSignature(err.Error() + " signature:" + pk.Signature + " server_name:" + string(pk.config.Matrix.ServerName) + " message:" + pk.Message)
|
||||
}
|
||||
|
||||
// Error if the user ID does not match the signed message.
|
||||
|
|
|
|||
Loading…
Reference in a new issue